:root {
    --color-primary: #FF7A00;
    --color-primary-dark: #E66D00;
    --color-primary-light: #FFA64D;
    --color-secondary: #0A1F44;
    --color-secondary-dark: #051429;
    --color-success: #28a745;
}

.registration-container {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-dark) 100%);
    padding: 40px 20px;
    position: relative;
    overflow: hidden;
}

.registration-container::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 122, 0, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

@keyframes float {
     0%, 100% { transform: translateY(0px) translateX(0px); }
     50% { transform: translateY(-20px) translateX(10px); }
 }

.registration-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.step-indicator {
    display: flex;
    justify-content: space-between;
    background: linear-gradient(135deg, #FAFAFA 0%, #F4F4F4 100%);
    padding: 30px 40px 20px;
    position: relative;
}

.step-indicator::before {
    content: '';
    position: absolute;
    top: 55px;
    left: 40px;
    right: 40px;
    height: 2px;
    background: #E8E8E8;
    z-index: 0;
}

.step-item {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    border: 3px solid #E8E8E8;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #A3A3A3;
    transition: all 0.3s ease;
}

.step-item.active .step-circle {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    border-color: var(--color-primary);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(255, 122, 0, 0.3);
}

.step-item.completed .step-circle {
    background: var(--color-success);
    border-color: var(--color-success);
    color: white;
}

.step-item.completed .step-circle::before {
    content: '✓';
    font-size: 24px;
}

.step-label {
    font-size: 13px;
    color: #A3A3A3;
    font-weight: 500;
}

.step-item.active .step-label {
    color: var(--color-primary);
    font-weight: 600;
}

.step-item.completed .step-label {
    color: var(--color-success);
}

.form-content {
    padding: 40px 50px;
}

.step-form {
    display: none;
}

.step-form.active {
    display: block;
    animation: slideIn 0.4s ease;
}

@keyframes slideIn {
     from {
         opacity: 0;
         transform: translateX(20px);
     }
     to {
         opacity: 1;
         transform: translateX(0);
     }
 }

.step-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 10px;
}

.step-description {
    color: #525252;
    margin-bottom: 30px;
}

.form-control {
    border-radius: 10px;
    border: 2px solid #E8E8E8;
    padding: 12px 16px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 0.2rem rgba(255, 122, 0, 0.15);
    outline: none;
}

.form-label {
    font-weight: 600;
    color: var(--color-secondary);
    margin-bottom: 8px;
}

.btn-step {
    border-radius: 10px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary-gradient {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    border: none;
    color: white;
}

.btn-primary-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 122, 0, 0.3);
}

.btn-outline-secondary {
    border: 2px solid #E8E8E8;
    color: var(--color-secondary);
    background: white;
}

.btn-outline-secondary:hover {
    background: #FAFAFA;
    border-color: var(--color-primary-light);
    color: var(--color-primary);
}

.password-strength {
    margin-top: 10px;
}

.strength-bar {
    height: 5px;
    background: #E8E8E8;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 5px;
}

.strength-fill {
    height: 100%;
    transition: all 0.3s ease;
    width: 0%;
}

.strength-weak { background: #dc3545; width: 33%; }
.strength-medium { background: var(--color-primary-light); width: 66%; }
.strength-strong { background: var(--color-success); width: 100%; }

.form-check-input:checked {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.form-check-input:focus {
    border-color: var(--color-primary-light);
    box-shadow: 0 0 0 0.2rem rgba(255, 122, 0, 0.15);
}

.text-decoration-none {
    color: var(--color-primary);
    font-weight: 600;
}

.text-decoration-none:hover {
    color: var(--color-primary-dark);
    text-decoration: underline !important;
}

.summary-card {
    background: linear-gradient(135deg, #FAFAFA 0%, #F4F4F4 100%);
    border: 2px solid #E8E8E8;
    border-radius: 12px;
    padding: 20px;
}

.success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 40px;
}

/* Toast Notifications */
.toast-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    transform: translateX(400px);
    transition: all 0.3s ease;
    z-index: 9999;
}

.toast-notification.show {
    transform: translateX(0);
}

.toast-notification.toast-error {
    border-left: 4px solid #dc3545;
}

.toast-notification.toast-success {
    border-left: 4px solid var(--color-success);
}

.toast-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.toast-message {
    color: var(--color-secondary);
    font-weight: 500;
    flex: 1;
}

/* Modern Alert Styles */
.alert {
    border-radius: 12px;
    border: none;
    padding: 16px 20px;
    margin-bottom: 20px;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-danger {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe5e5 100%);
    color: #dc3545;
    border-left: 4px solid #dc3545;
}

.alert-success {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    color: var(--color-success);
    border-left: 4px solid var(--color-success);
}

.alert ul {
    margin: 0;
    padding-left: 20px;
}

.alert li {
    margin-bottom: 5px;
}

.alert li:last-child {
    margin-bottom: 0;
}


/* Register Success */

.success-container {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    position: relative;
    overflow: hidden;
}

.success-container::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 122, 0, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) translateX(0px); }
    50% { transform: translateY(-20px) translateX(10px); }
}

.success-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    padding: 60px 50px;
    text-align: center;
    position: relative;
    z-index: 1;
    animation: slideUp 0.6s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.success-icon-wrapper {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    position: relative;
}

.success-icon {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF7A00 0%, #E66D00 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 60px;
    animation: checkmark 0.8s ease;
    box-shadow: 0 10px 30px rgba(255, 122, 0, 0.3);
}

@keyframes checkmark {
    0% {
        transform: scale(0) rotate(-45deg);
    }
    50% {
        transform: scale(1.2) rotate(10deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
    }
}

.success-icon::before {
    content: '✓';
    animation: appear 0.4s ease 0.4s both;
}

@keyframes appear {
    from {
        opacity: 0;
        transform: scale(0);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.success-title {
    font-size: 32px;
    font-weight: 700;
    color: #0A1F44;
    margin-bottom: 15px;
}

.success-message {
    font-size: 18px;
    color: #525252;
    margin-bottom: 30px;
    line-height: 1.6;
}

.success-info {
    background: linear-gradient(135deg, #FAFAFA 0%, #F4F4F4 100%);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    text-align: left;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-icon {
    width: 24px;
    height: 24px;
    background: #FF7A00;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    margin-right: 12px;
    flex-shrink: 0;
}

.info-text {
    color: #404040;
    font-size: 15px;
}

.btn-success-primary {
    background: linear-gradient(135deg, #FF7A00 0%, #E66D00 100%);
    color: white;
    border: none;
    padding: 14px 40px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.btn-success-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 122, 0, 0.3);
    color: white;
}

.btn-success-secondary {
    color: #525252;
    border: 2px solid #E8E8E8;
    background: white;
    padding: 14px 40px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    margin-left: 15px;
}

.btn-success-secondary:hover {
    background: #FAFAFA;
    border-color: #FF7A00;
    color: #FF7A00;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #FF7A00;
    opacity: 0;
    animation: confetti-fall 3s linear infinite;
}

@keyframes confetti-fall {
    0% {
        opacity: 1;
        transform: translateY(0) rotate(0deg);
    }
    100% {
        opacity: 0;
        transform: translateY(600px) rotate(360deg);
    }
}
