/* --- Form Redesign --- */

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-card);
    padding: 50px;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: var(--text-gray);
    font-size: 0.95rem;
    font-weight: 500;
}

.form-group label i {
    color: var(--primary);
    width: 16px;
    height: 16px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 15px;
    color: var(--text-white);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(78, 203, 255, 0.2);
    background: rgba(0, 0, 0, 0.5);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(160, 174, 192, 0.5);
}

/* Custom Select styling wrapper */
.select-wrapper {
    position: relative;
}

.select-wrapper select {
    appearance: none;
    cursor: pointer;
}

.select-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--primary);
    width: 18px;
    height: 18px;
}

/* Button & Icons */
.btn-block {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.btn-block i {
    width: 18px;
    height: 18px;
    transition: transform 0.3s;
}

.btn-block:hover i {
    transform: translateX(4px);
}


/* Success Message */
.success-message {
    text-align: center;
    padding: 40px;
}

.success-icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(78, 255, 145, 0.1);
    border: 1px solid rgba(78, 255, 145, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    animation: pulseSuccess 2s infinite;
}

.success-check {
    color: #4eff91;
    width: 40px;
    height: 40px;
}

.success-content h3 {
    margin-bottom: 15px;
    font-size: 1.8rem;
    color: var(--text-white);
}

.success-content p {
    color: var(--text-gray);
    margin-bottom: 10px;
}

.calendar-note {
    font-size: 0.9rem;
    color: var(--primary);
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.calendar-note::before {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid var(--primary);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: inline-block;
}

@keyframes pulseSuccess {
    0% {
        box-shadow: 0 0 0 0 rgba(78, 255, 145, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(78, 255, 145, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(78, 255, 145, 0);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}


/* Responsive */
@media (max-width: 768px) {
    .form-container {
        padding: 30px 20px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }
}