/* Registration Page Container */
.registration-page-container {
    min-height: calc(100vh - 200px);
    padding: 40px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Guest Registration Styles (Green Theme) */
.guest-registration-container {
    max-width: 600px;
    width: 100%;
    background: white;
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 0 20px 60px rgba(42, 82, 72, 0.15);
    border: 1px solid rgba(201, 229, 224, 0.3);
    position: relative;
    overflow: hidden;
}

.guest-registration-container::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(9, 51, 41, 0.4), rgba(42, 82, 72, 0.2));
    border-radius: 50%;
    z-index: 1;
}

.guest-registration-container::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 160px;
    height: 160px;
    background: linear-gradient(135deg, rgba(42, 82, 72, 0.3), rgba(9, 51, 41, 0.15));
    border-radius: 50%;
    z-index: 1;
}

.guest-registration-header {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-bottom: 40px;
}

.guest-registration-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #C9E5E0, #3F6F63);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: 0 8px 25px rgba(201, 229, 224, 0.3);
}

.guest-registration-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #0D1E34;
    margin-bottom: 15px;
}

.guest-registration-subtitle {
    font-size: 1rem;
    color: #63748A;
    margin: 0;
    line-height: 1.5;
}

.guest-registration-form {
    position: relative;
    z-index: 2;
}

.guest-form-section {
    background: rgba(201, 229, 224, 0.05);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
    border: 1px solid rgba(201, 229, 224, 0.2);
}

.guest-section-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2A5248;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #C9E5E0;
}

.guest-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.guest-form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.guest-form-group.full-width {
    grid-column: 1 / -1;
}

.guest-input-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2A5248;
    margin-bottom: 8px;
    margin-left: 4px;
}

.guest-form-input,
.guest-form-select {
    padding: 15px 20px;
    border: 2px solid #C9E5E0;
    border-radius: 12px;
    font-size: 1rem;
    background: rgba(201, 229, 224, 0.1);
    color: #0D1E34;
    transition: all 0.3s ease;
    box-sizing: border-box;
    width: 100%;
}

.guest-form-input:focus,
.guest-form-select:focus {
    outline: none;
    border-color: #2A5248;
    background: white;
    box-shadow: 0 0 0 3px rgba(42, 82, 72, 0.1);
}

.guest-form-select {
    cursor: pointer;
}

.guest-registration-button {
    width: 100%;
    padding: 18px 30px;
    background: linear-gradient(135deg, #2A5248, #093329);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(42, 82, 72, 0.3);
    margin-top: 10px;
}

.guest-registration-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(42, 82, 72, 0.4);
    background: linear-gradient(135deg, #093329, #0D1E34);
}

/* Provider Registration Styles (Blue Theme) */
.provider-registration-container {
    max-width: 700px;
    width: 100%;
    background: white;
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 0 20px 60px rgba(46, 62, 83, 0.2);
    border: 1px solid rgba(99, 116, 138, 0.3);
    position: relative;
    overflow: hidden;
}

.provider-registration-container::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(13, 30, 52, 0.4), rgba(46, 62, 83, 0.2));
    border-radius: 50%;
    z-index: 1;
}

.provider-registration-container::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 160px;
    height: 160px;
    background: linear-gradient(135deg, rgba(46, 62, 83, 0.3), rgba(13, 30, 52, 0.15));
    border-radius: 50%;
    z-index: 1;
}

.provider-registration-header {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-bottom: 40px;
}

.provider-registration-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #63748A, #2E3E53);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: 0 8px 25px rgba(99, 116, 138, 0.3);
}

.provider-registration-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #0D1E34;
    margin-bottom: 15px;
}

.provider-registration-subtitle {
    font-size: 1rem;
    color: #63748A;
    margin: 0;
    line-height: 1.5;
}

.provider-registration-form {
    position: relative;
    z-index: 2;
}

.provider-form-section {
    background: rgba(99, 116, 138, 0.05);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
    border: 1px solid rgba(99, 116, 138, 0.2);
}

.provider-section-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2E3E53;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #63748A;
}

.provider-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.provider-form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.provider-form-group.full-width {
    grid-column: 1 / -1;
}

.provider-input-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2E3E53;
    margin-bottom: 8px;
    margin-left: 4px;
}

.provider-form-input,
.provider-form-select {
    padding: 15px 20px;
    border: 2px solid #63748A;
    border-radius: 12px;
    font-size: 1rem;
    background: rgba(99, 116, 138, 0.1);
    color: #0D1E34;
    transition: all 0.3s ease;
    box-sizing: border-box;
    width: 100%;
}

.provider-form-input:focus,
.provider-form-select:focus {
    outline: none;
    border-color: #2E3E53;
    background: white;
    box-shadow: 0 0 0 3px rgba(46, 62, 83, 0.1);
}

.provider-form-select {
    cursor: pointer;
}

.provider-registration-button {
    width: 100%;
    padding: 18px 30px;
    background: linear-gradient(135deg, #2E3E53, #0D1E34);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(46, 62, 83, 0.3);
    margin-top: 10px;
}

.provider-registration-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(46, 62, 83, 0.4);
    background: linear-gradient(135deg, #0D1E34, #445770);
}

/* Common Styles */
.registration-terms {
    font-size: 0.9rem;
    line-height: 1.5;
    text-align: center;
    margin: 25px 0;
    color: #63748A;
}

.terms-link {
    color: #2A5248;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.terms-link:hover {
    color: #093329;
    text-decoration: underline;
}

.provider-terms-link {
    color: #2E3E53;
}

.provider-terms-link:hover {
    color: #0D1E34;
}

.registration-login-link {
    text-align: center;
    margin-top: 25px;
    font-size: 0.95rem;
}

.registration-login-link a {
    color: #2A5248;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.registration-login-link a:hover {
    color: #093329;
    text-decoration: underline;
}

.provider-login-link a {
    color: #2E3E53;
}

.provider-login-link a:hover {
    color: #0D1E34;
}

.registration-back-button {
    margin-top: 30px;
    padding: 12px 25px;
    background: transparent;
    border: 2px solid #C9E5E0;
    border-radius: 10px;
    color: #2A5248;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.registration-back-button:hover {
    background: #C9E5E0;
    color: #0D1E34;
    transform: translateY(-2px);
}

.provider-back-button {
    border-color: #63748A;
    color: #2E3E53;
}

.provider-back-button:hover {
    background: #63748A;
    color: white;
}

/* Error Messages */
.registration-error-message {
    background: linear-gradient(135deg, rgba(210, 170, 146, 0.2), rgba(126, 88, 65, 0.1));
    border: 1px solid #D2AA92;
    color: #7E5841;
    padding: 12px 20px;
    border-radius: 10px;
    margin-bottom: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    position: relative;
    z-index: 10;
}

.error-icon {
    font-size: 1.1rem;
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 768px) {
    .registration-page-container {
        padding: 20px 15px;
    }
    
    .guest-registration-container,
    .provider-registration-container {
        padding: 40px 25px;
        margin: 0 15px;
    }
    
    .guest-registration-title,
    .provider-registration-title {
        font-size: 1.8rem;
    }
    
    .guest-form-row,
    .provider-form-row {
        grid-template-columns: 1fr;
    }
    
    .guest-form-section,
    .provider-form-section {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .guest-registration-container,
    .provider-registration-container {
        padding: 30px 20px;
    }
    
    .guest-registration-title,
    .provider-registration-title {
        font-size: 1.6rem;
    }
    
    .guest-form-input,
    .guest-form-select,
    .provider-form-input,
    .provider-form-select {
        padding: 12px 15px;
    }
    
    .guest-registration-button,
    .provider-registration-button {
        padding: 15px 25px;
        font-size: 1.1rem;
    }
    
    .guest-registration-icon,
    .provider-registration-icon {
        width: 60px;
        height: 60px;
    }
}

/* Form animations */
.guest-form-group,
.provider-form-group {
    animation: slideInUp 0.3s ease-out forwards;
}

.guest-form-group:nth-child(1) { animation-delay: 0.1s; }
.guest-form-group:nth-child(2) { animation-delay: 0.2s; }
.guest-form-group:nth-child(3) { animation-delay: 0.3s; }

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
