/* Signup Container */
.signup-container {
    display: flex;
    min-height: 600px;
    max-height: 800px;
    padding: 2rem;
    gap: 0;
    max-width: 1200px;
    margin: 75px auto 0; /* Added top margin for nav spacing */
}

.feature-item p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.5rem;
    padding-left: 1.5rem;
}

@media (max-width: 768px) {
    .signup-container {
        flex-direction: column;
        margin: 60px auto 0;
        padding: 1rem;
        min-height: auto;
        max-height: none;
    }

    .signup-box {
        padding: 1.5rem;
    }

    .left-box {
        border-radius: 20px 20px 0 0 !important;
        min-height: 400px;
        padding: 1rem 1.5rem 2rem 1.5rem;
    }

    .right-box {
        border-radius: 0 0 20px 20px;
    }

    h2 {
        font-size: 2.5rem;
        margin-bottom: 0.25rem;
    }

    .tagline {
        font-size: 1.5rem;
        margin-bottom: 1rem;
        margin-top: -0.25rem;
    }

    .description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .features {
        margin-top: 2rem;
        gap: 1rem;
    }

    .feature-item p {
        font-size: 0.85rem;
        line-height: 1.5;
        padding-left: 1.25rem;
    }

    .feature-item h3 {
        font-size: 1rem;
    }

    .signup-form {
        padding: 0;
    }

    .form-group {
        margin-bottom: 1.25rem;
    }
}

/* Common styles for both boxes */
.signup-box {
    flex: 1;
    padding: 3rem;
    display: flex;
    flex-direction: column;
}

/* Left box styling */
.left-box {
    background: url('../img/background\ V3.png') center center;
    background-size: cover;
    color: var(--text-color);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 2.5rem 2.5rem 2.5rem 2.5rem;
    border-radius: 20px 0 0 20px;
}

.left-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    z-index: 1;
    backdrop-filter: blur(3px);
    border-radius: inherit;
}

.left-box > * {
    position: relative;
    z-index: 2;
}

.tagline {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--grad-new-start), var(--grad-new-end));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
    margin-top: -0.2rem;
}

.description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 540px;
}

.left-box .tagline {
    font-size: 1.1rem;
    margin-bottom: 3.5rem;
    font-weight: 400;
    letter-spacing: -0.01em;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    max-width: 85%;
}

h2 {
    margin-bottom: 0;
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 1.1;
    text-shadow: 0 2px 15px rgba(var(--grad-new-start-rgb), 0.3);
    position: relative;
    margin-top: -0.5rem;
}



/* Features section */
.features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 3rem;
    color: var(--text-color);
}

/* Form options styling */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-color);
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;
}

.remember-me:hover {
    color: var(--grad-new-end);
}

.remember-me input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    cursor: pointer;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.remember-me input[type="checkbox"]:hover {
    border-color: rgba(224, 235, 243, 0.6);
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.08);
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.15),
        0 0 0 2px rgba(224, 235, 243, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.remember-me input[type="checkbox"]:checked {
    background: linear-gradient(135deg, var(--grad-dark-start), var(--grad-dark-end));
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.04);
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.4),
        0 0 0 2px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.remember-me input[type="checkbox"]::after {
    content: '';
    position: absolute;
    top: 1px;
    left: 6px;
    width: 5px;
    height: 10px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(0);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.6, 1);
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
}

.remember-me input[type="checkbox"]:checked::after {
    animation: checkmarkAppear 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.1s forwards;
}

@keyframes checkmarkAppear {
    0% {
        transform: rotate(45deg) scale(0) translateY(2px);
        opacity: 0;
    }
    60% {
        transform: rotate(45deg) scale(1.3) translateY(-1px);
        opacity: 1;
    }
    100% {
        transform: rotate(45deg) scale(1) translateY(0);
        opacity: 1;
    }
}

.remember-me input[type="checkbox"]:focus {
    outline: none;
    border-color: var(--grad-new-end);
    box-shadow: 
        0 0 0 4px rgba(var(--grad-new-end-rgb), 0.15),
        0 4px 16px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.remember-me span {
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.forgot-password {
    font-size: 0.9rem;
    color: var(--grad-new-end);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.forgot-password:hover {
    opacity: 0.8;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

.feature-item {
    display: flex;
    align-items: center;
    position: relative;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-item h3 {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

@keyframes spin-diamond {
    from {
        transform: rotate(45deg);
    }
    to {
        transform: rotate(405deg);
    }
}

.feature-item h3::before {
    content: '';
    position: absolute;
    left: 0;
    width: 6px;
    height: 6px;
    background: var(--grad-new-end);
    border-radius: 1px;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

.feature-item:hover h3::before {
    animation: spin-diamond 1s linear infinite;
}

.feature-item:hover {
    transform: translateX(10px);
}

.feature-content {
    padding-top: 3px;
}

.feature-item h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.35rem 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff;
}

.feature-item p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-color);
}

/* Right box styling */
.right-box {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Form styling */
.signup-form {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.form-logo {
    text-align: center;
    margin-bottom: 1.5rem;
}

.form-logo img {
    max-width: 180px;
    height: auto;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.form-logo img:hover {
    opacity: 1;
}

.signup-form h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--grad-new-start), var(--grad-new-end));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group input {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    font-size: 1rem;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.form-group label {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.6);
    pointer-events: none;
}

.form-group input:focus {
    border-color: var(--color-primary);
    outline: none;
    box-shadow: 0 0 0 1px var(--color-primary);
}

.form-group input:not(:placeholder-shown) {
    border-color: rgba(255, 255, 255, 0.2);
    outline: none;
}

.form-group input:focus + label {
    top: -0.5rem;
    left: 0.5rem;
    font-size: 0.8rem;
    padding: 0 1rem;
    color: var(--color-primary);
}

.form-group input:not(:placeholder-shown) + label {
    top: -0.5rem;
    left: 0.5rem;
    font-size: 0.8rem;
    padding: 0 0.5rem;
    color: rgba(255, 255, 255, 0.6);
}

.signup-button {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--grad-dark-start) 0%, var(--grad-dark-end) 50%, var(--grad-dark-end) 50%, var(--grad-dark-start) 100%);
    background-size: 200% 100%;
    background-position: 0% 0%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.signup-button span {
    background: linear-gradient(135deg, var(--grad-new-start) 0%, var(--grad-new-end) 50%, var(--grad-new-end) 50%, var(--grad-new-start) 100%);
    background-size: 200% 100%;
    background-position: 0% 0%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    transition: all 0.4s ease;
}

.signup-button:hover {
    transform: translateY(-2px);
    border-color: var(--grad-new-end);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    background-position: 100% 0%;
}

.signup-button:hover span {
    background-position: 100% 0%;
}

.signup-button:hover {
    transform: translateY(-2px);
}

.login-link {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--text-color);
}

.login-link a {
    color: var(--grad-new-end);
    text-decoration: none;
    font-weight: 600;
}

.login-link a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .signup-container {
        flex-direction: column;
        padding: 1rem;
        margin-top: 60px;
    }
    
    .signup-box {
        padding: 2rem;
    }
    
    .left-box {
        border-radius: 20px 20px 0 0;
    }
    
    .right-box {
        border-radius: 0 0 20px 20px;
    }
    
    .left-box h2 {
        font-size: 2.25rem;
        margin-bottom: 1rem;
    }
    
    .left-box .tagline {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .features {
        gap: 1rem;
    }
    
    .feature-item {
        padding: 1rem;
    }
    
    .feature-item h3 {
        font-size: 1.1rem;
    }
    
    .feature-item p {
        font-size: 0.95rem;
    }
}
