
    * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: #f5f7fa;
}

.register-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    background: 
        linear-gradient(135deg, rgba(0, 191, 165, 0.05) 0%, rgba(255, 255, 255, 0) 50%),
        linear-gradient(225deg, rgba(0, 137, 123, 0.03) 0%, rgba(255, 255, 255, 0) 50%),
        #f8f9fa;
    position: relative;
    overflow: hidden;
}

.register-container::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -15%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 191, 165, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 25s infinite ease-in-out;
}

.register-container::after {
    content: '';
    position: absolute;
    bottom: -25%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 137, 123, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s infinite ease-in-out reverse;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.05);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.95);
    }
}

.register-card {
    background: white;
    border-radius: 24px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.04);
    max-width: 900px;
    width: 100%;
    overflow: hidden;
    animation: slideIn 0.5s ease;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.register-header {
    background: 
        linear-gradient(135deg, rgba(0, 191, 165, 0.95) 0%, rgba(0, 137, 123, 0.98) 100%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L0 30L30 60L60 30z' fill='%23ffffff' fill-opacity='0.05'/%3E%3C/svg%3E");
    background-size: cover, 60px 60px;
    color: white;
    padding: 2rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.register-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255,255,255,0.15) 0%, transparent 60%);
    animation: pulse 6s infinite ease-in-out;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.4;
        transform: scale(1) rotate(0deg);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.05) rotate(5deg);
    }
}

.register-header h1 {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
    letter-spacing: -0.5px;
}

.register-header p {
    margin: 0.5rem 0 0 0;
    opacity: 0.95;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
    font-weight: 300;
}

/* Progress Stepper */
.stepper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.75rem 2rem;
    position: relative;
    gap: 1rem;
    background: 
        linear-gradient(to bottom, rgba(248, 249, 250, 0.8) 0%, #ffffff 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.stepper::before {
    content: '';
    position: absolute;
    top: 3.5rem;
    left: 30%;
    right: 30%;
    height: 3px;
    background: linear-gradient(to right, #e5e7eb 0%, #e5e7eb 100%);
    z-index: 0;
    border-radius: 10px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    flex: 1;
    max-width: 200px;
    transition: all 0.3s ease;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: #f3f4f6;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid transparent;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.step-number::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 14px;
    padding: 3px;
    background: linear-gradient(135deg, #00BFA5, #00897B);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.step.active .step-number {
    background: linear-gradient(135deg, #00BFA5 0%, #00897B 100%);
    color: white;
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(0, 191, 165, 0.35);
}

.step.active .step-number::before {
    opacity: 1;
}

.step.completed .step-number {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
}

.step.completed .step-number::after {
    content: '✓';
    position: absolute;
    font-size: 1.5rem;
    animation: checkmark 0.4s ease;
}

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

.step-label {
    font-size: 0.9rem;
    color: #6b7280;
    text-align: center;
    font-weight: 500;
    transition: all 0.3s ease;
}

.step.active .step-label {
    color: #00BFA5;
    font-weight: 600;
}

.step.completed .step-label {
    color: #10b981;
    font-weight: 600;
}

/* Form Styles */
.register-body {
    padding: 1rem 1.5rem 0.5rem;
}

.form-step {
    display: none;
}

.form-step.active {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    animation: fadeSlideIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-step.active .form-group {
    animation: fadeIn 0.6s ease backwards;
}

.form-step.active .form-group:nth-child(1) { animation-delay: 0.05s; }
.form-step.active .form-group:nth-child(2) { animation-delay: 0.1s; }
.form-step.active .form-group:nth-child(3) { animation-delay: 0.15s; }
.form-step.active .form-group:nth-child(4) { animation-delay: 0.2s; }
.form-step.active .form-group:nth-child(5) { animation-delay: 0.25s; }
.form-step.active .form-group:nth-child(6) { animation-delay: 0.3s; }
.form-step.active .form-group:nth-child(7) { animation-delay: 0.35s; }

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

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

.form-group {
    margin-bottom: 0;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: #1f2937;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.01em;
}

.form-label .required {
    color: #ef4444;
    margin-left: 3px;
}

.form-control {
    width: 100%;
    padding: 0.75rem 0.875rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
    background: #fafbfc;
    color: #111827;
}

.form-control::placeholder {
    color: #9ca3af;
}

.form-control:hover {
    border-color: #d1d5db;
    background: #ffffff;
}

.form-control:focus {
    outline: none;
    border-color: #00BFA5;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(0, 191, 165, 0.08), 0 1px 3px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.form-control.error {
    border-color: #ef4444;
    background: #fef2f2;
}

.form-control.error:focus {
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}

.error-message {
    display: none;
    color: #ef4444;
    font-size: 0.8rem;
    margin-top: 0.5rem;
    font-weight: 500;
    align-items: center;
    gap: 0.25rem;
}

.error-message.show {
    display: flex;
}

.error-message::before {
    content: '⚠';
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem;
    background: #f9fafb;
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.checkbox-group:hover {
    background: #f3f4f6;
    border-color: #e5e7eb;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #00BFA5;
    border-radius: 6px;
}

.checkbox-group label {
    margin: 0;
    cursor: pointer;
    user-select: none;
    font-weight: 500;
    color: #374151;
    font-size: 0.9rem;
}

/* Buttons */
.form-actions {
    display: flex;
    gap: 1rem;
    /* margin-top: 1.75rem; */
    grid-column: 1 / -1;
}

.btn {
    padding: 0.875rem 1.75rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:active::before {
    width: 300px;
    height: 300px;
}

.btn i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.btn-secondary {
    background: #f3f4f6;
    color: #374151;
    border: 2px solid #e5e7eb;
}

.btn-secondary:hover {
    background: #e5e7eb;
    border-color: #d1d5db;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.btn-secondary:hover i {
    transform: translateX(-4px);
}

.btn-primary {
    background: linear-gradient(135deg, #00BFA5 0%, #00897B 100%);
    color: white;
    flex: 1;
    box-shadow: 0 4px 14px rgba(0, 191, 165, 0.25);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 191, 165, 0.35);
}

.btn-primary:hover i {
    transform: translateX(4px);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-primary.loading {
    pointer-events: none;
}

.btn-primary.loading::after {
    content: '';
    width: 18px;
    height: 18px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Footer */
.register-footer {
    background: linear-gradient(to bottom, #ffffff 0%, #f9fafb 100%);
    padding: 1.5rem 2rem;
    text-align: center;
    border-top: 1px solid #e5e7eb;
}

.register-footer p {
    margin: 0;
    color: #6b7280;
    font-size: 0.95rem;
}

.register-footer a {
    color: #00BFA5;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.register-footer a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #00BFA5;
    transition: width 0.3s ease;
}

.register-footer a:hover::after {
    width: 100%;
}

.register-footer a:hover {
    color: #00897B;
}

/* Alerts */
#alertContainer {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 9999;
    max-width: 420px;
}

.alert {
    padding: 1.25rem 1.5rem;
    border-radius: 16px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    animation: slideInRight 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

@keyframes slideOut {
    to {
        opacity: 0;
        transform: translateX(100px) scale(0.9);
    }
}

.alert-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.alert-error {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

.alert i {
    font-size: 1.5rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Responsive */
@media (max-width: 968px) {
    .register-card {
        max-width: 700px;
    }

    .form-step.active {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .register-container {
        padding: 1rem;
    }

    .register-container::before,
    .register-container::after {
        display: none;
    }

    .register-card {
        border-radius: 16px;
    }

    .register-header {
        padding: 1.5rem 1.25rem;
    }

    .register-header h1 {
        font-size: 1.35rem;
    }

    .register-header p {
        font-size: 0.875rem;
    }

    .stepper {
        padding: 1.25rem 1rem;
    }

    .step-number {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }

    .step-label {
        font-size: 0.8rem;
    }

    .register-body {
        padding: 1.5rem 1.25rem 1.25rem;
    }

    .form-step.active {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .form-actions {
        flex-direction: column;
        margin-top: 1.5rem;
    }

    .btn {
        width: 100%;
    }

    .btn-secondary:hover i {
        transform: translateY(-4px);
    }

    .btn-primary:hover i {
        transform: translateY(4px);
    }

    #alertContainer {
        top: 16px;
        right: 16px;
        left: 16px;
        max-width: none;
    }

    .alert {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .register-header h1 {
        font-size: 1.35rem;
    }

    .stepper::before {
        left: 25%;
        right: 25%;
    }

    .step-number {
        width: 44px;
        height: 44px;
        font-size: 1rem;
        border-radius: 12px;
    }

    .step-label {
        font-size: 0.75rem;
    }

    .form-control {
        padding: 0.75rem 0.875rem;
        font-size: 0.9rem;
    }

    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
}
