* {
        box-sizing: border-box;
        font-family: system-ui, -apple-system, sans-serif;
}

.astrology {
        display: flex;
        justify-content: center;
        color: white;
        border: 1px solid darkred;
        border-radius: 10px;
        backdrop-filter: blur(1.5px);
        margin-bottom: 50px;
        /* margin-top: 50px; */
        padding-top: 15px;
}

.astro-form-con {
        display: flex;
        flex-direction: column;
        /* align-items: center; */
}
@media (min-width: 768px) {
        .astro-form-con {
                width: 500px;
        }
}

.astro-form-con h1 {
        margin: 20px 0 10px 5px;
        transition: opacity 0.5s ease-in-out;
}
.section-title {
        color: white;
}
.section-title.gone {
        display: none;
}

.astro-form-con.gone {
        display: none;
}
/* .screen { */
/*         opacity: 0; */
/*         transition: opacity 0.5s ease-in-out; */
/* } */
.screen.hidden {
        display: none;
}
.results-con {
        display: none;
}

.results-con.active {
        display: flex;
        flex-direction: column;
        align-items: center;
}

.title-sign {
        position: relative;
        width: 100%;
        max-width: 500px;
        margin: 0 auto 30px auto;
        min-height: 180px;
        padding: 15px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        /* background-size: contain; */
        /* background-position: center; */
        /* background-repeat: no-repeat; */
        .name-title {
                display: flex;
                flex-direction: row;
                align-items: center;
                gap: 10px;
        }
        h1, h2 {
                margin: 0;
        }
}
.planet-bg {
        /* position: absolute; */
        /* top: 50%; */
        /* left: 50%; */
        transform: tranlate(-50%, -50%);
        width: 150px;
        height: 150px;
        object-fit: contain;
        z-index: -1;
}

#name {
        padding: 0 20px 0 20px;
}

form {
        display: flex;
        flex-direction: column;
        margin-bottom: 50px;
        /* max-width: 200px; */
}

label {
        font-size: 1.5rem;
        padding-top: 10px;
}
.wizard-name {
        margin: 10px 10px 25px 10px;
}

.wizard-name input,
.select-con select {
        width: 100%;
        padding: 12px 15px;
        background: rgba(0, 229, 255, 0.05); /* Very transparent cyan */
        border: 1px solid gray; 
        border-radius: 10px;
        color: #fff;
        /* font-family: 'Share Tech Mono', monospace; */
        font-size: 1rem;
        outline: none;
        transition: all 0.3s ease;
}
option {
        color: black;
} 

.select-con {
        display: flex;
        /* align-items: center; */
        flex-direction: column;
        margin: 10px;
        /* max-width: 100px; */
}
#birthday {
        margin-bottom: 25px;
}

.dropdown-box-2,
.dropdown-box {
        position: relative;
        margin: 10px;
}

.dropdown-box-2 input,
.dropdown-box input {
        width: 100%;
        padding: 10px 15px;
        border: 1px solid #ccc;
        border-radius: 6px;
        outline: none;
        font-size: 1rem;
        transition: border-color 0.2s ease;
        color: #fff;
}

.dropdown-box-2 input:focus,
.dropdown-box-2.active .selected-item-2 input,
.dropdown-box input:focus,
.dropdown-box.active .selected-item input {
        border-color: #007bff;
}

.dropdown-box-2 .selected-item-2,
.dropdown-box .selected-item {
        position: relative;
        cursor: pointer;
}

.dropdown-box-2 .selected-item-2 input,
.dropdown-box .selected-item input {
        cursor: pointer;
        width: 100%;
        padding: 12px 15px;
        background: rgba(0, 229, 255, 0.05); 
        /* border: 1px solid #00e5ff; */
        /* color: #fff; */
        /* font-family: 'Share Tech Mono', monospace; */
        font-size: 1rem;
        outline: none;
        transition: all 0.3s ease;
}

/* Dropdown Arrow */
.dropdown-box-2 .selected-item-2::after,
.dropdown-box .selected-item::after {
        content: "";
        width: 6px;
        height: 6px;
        border: 2px solid;
        border-color: transparent #555 #555 transparent;
        position: absolute;
        top: 50%;
        right: 15px;
        transform: translateY(10%) rotate(45deg);
        transition: transform 0.3s ease;
        pointer-events: none;
}

/* Flip arrow when dropdown is open */
.dropdown-box-2.active .selected-item-2::after,
.dropdown-box.active .selected-item::after {
        transform: translateY(-30%) rotate(225deg);
}

.dropdown-box-2 .dropdown-content-2,
.dropdown-box .dropdown-content {
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
        border-radius: 6px;
        border: 1px solid #eee;
        max-height: 240px;
        overflow-y: auto;
        display: none;
        position: absolute;
        top: calc(100% + 5px);
        /* Adds a slight gap below the input */
        left: 0;
        z-index: 99;
        background-color: white;
        width: 100%;
}

.dropdown-box-2.active .dropdown-content-2,
.dropdown-box.active .dropdown-content {
        display: block;
        animation: fadeIn 0.2s ease;
}

.dropdown-box-2 .dropdown-content-2 .search-input-2,
.dropdown-box .dropdown-content .search-input {
        padding: 10px;
        position: sticky;
        top: 0;
        background: white;
        border-bottom: 1px solid #eee;
}

.dropdown-box-2 .dropdown-content-2 .search-input-2 input,
.dropdown-box .dropdown-content .search-input input {
        padding: 8px 12px;
        border-radius: 4px;
        border: 1px solid #ddd;
        color: #1a1614 !important;
}

.dropdown-box-2 .dropdown-content-2 ul,
.dropdown-box .dropdown-content ul {
        list-style: none;
        margin: 0;
        padding: 5px 0;
}

.dropdown-box-2 .dropdown-content-2 ul li,
.dropdown-box .dropdown-content ul li {
        font-size: 0.95rem;
        padding: 10px 15px;
        cursor: pointer;
        /* color: #333; */
        color: black;
        transition: background-color 0.15s ease;
}

.dropdown-box-2 .dropdown-content-2 ul li:hover,
.dropdown-box .dropdown-content ul li:hover {
        background-color: #f5f5f5;
}

.dropdown-box-2 .dropdown-content-2 ul li.active,
.dropdown-box .dropdown-content ul li.active {
        background-color: #e6f2ff;
        /* color: #007bff; */
        font-weight: 500;
}

.form-submit {
    appearance: none;
    outline: none;
    padding: 10px 40px;
    margin: 20px; /* Adjust as needed for your layout */
    cursor: pointer;
    background: linear-gradient(to bottom, #3a322c, #1a1614);
    border: 2px solid #a8b2bc;
    border-radius: 3px; 
    box-shadow: 
        0 0 0 4px #1a1614,           /* Outer dark rim */
        0 0 0 6px #a8b2bc,           /* Outer gold rim */
        inset 0 0 15px rgba(0,0,0,0.9), /* Deep inner shadow for depth */
        0 8px 15px rgba(0,0,0,0.6);  /* Drop shadow on the page */
    transition: all 0.2s ease-in-out;
}

.form-submit h3 {
    margin: 0;
    font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif; 
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #d8e1e8;
    text-shadow: 2px 2px 4px rgba(0,0,0,1), 0 0 10px rgba(244, 211, 121, 0.3);
    transition: all 0.2s ease-in-out;
}

.form-submit:hover {
    background: linear-gradient(to bottom, #4a403a, #2a2420);
    box-shadow: 
        0 0 0 4px #1a1614, 
        0 0 0 6px #e2e8f0, /* Gold rim gets brighter */
        inset 0 0 15px rgba(0,0,0,0.9), 
        0 12px 20px rgba(0,0,0,0.8);
    transform: translateY(-2px); /* Lifts up slightly */
}

.form-submit:hover h3 {
    text-shadow: 2px 2px 4px rgba(0,0,0,1), 0 0 15px rgba(255, 215, 0, 0.7);
}

.form-submit:active {
    transform: translateY(3px); /* Pushes down */
    background: #1a1614;
    box-shadow: 
        0 0 0 4px #1a1614, 
        0 0 0 6px #6c7782, /* Gold gets darker/pressed */
        inset 0 0 20px rgba(0,0,0,1), 
        0 2px 4px rgba(0,0,0,0.8);
}

@keyframes fadeIn {
        from {
                opacity: 0;
                transform: translateY(-5px);
        }

        to {
                opacity: 1;
                transform: translateY(0);
        }
}

#chart h1 {
        color: white;
}
