    
:root {
    --primary-blue: #2563eb;
    --primary-blue-dark: #1d4ed8;
    --primary-blue-light: #60a5fa;
    --primary-teal: #0d9488;
    --primary-teal-dark: #0f766e;
    --primary-teal-light: #5eead4;
    --gradient-blue: linear-gradient(135deg, #2563eb, #1e40af);
    --gradient-teal: linear-gradient(135deg, #0d9488, #0f766e);
    --gradient-mixed: linear-gradient(135deg, #2563eb, #0d9488);
    --error-red: #ef4444;
    --success-green: #10b981;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f9fafb;
}

.btn-primary {
    @apply inline-flex items-center px-4 py-2 bg-blue-600 border border-transparent rounded-md font-semibold text-xs text-white uppercase tracking-widest hover:bg-blue-700 focus:outline-none focus:border-blue-700 focus:ring ring-blue-300 disabled:opacity-25 transition ease-in-out duration-150;
}

.btn-secondary {
    @apply inline-flex items-center px-4 py-2 bg-gray-500 border border-transparent rounded-md font-semibold text-xs text-white uppercase tracking-widest hover:bg-gray-600 focus:outline-none focus:border-gray-700 focus:ring ring-gray-300 disabled:opacity-25 transition ease-in-out duration-150;
}

.form-input {
    @apply mt-1 block w-full rounded-md border-gray-300 shadow-sm focus:border-blue-300 focus:ring focus:ring-blue-200 focus:ring-opacity-50 pl-10;
}

.input-group {
    @apply relative;
}

.input-icon {
    @apply absolute left-3 top-1/2 transform -translate-y-1/2 text-gray-400;
}

.fade-in-up {
    animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.login-container {
    min-height: 100vh;
    display: flex;
    overflow: hidden;
}

.login-image {
    background-image: url('https://images.unsplash.com/photo-1576091160550-2173dba999ef?ixlib=rb-4.0.3&auto=format&fit=crop&w=1500&q=80');
    background-size: cover;
    background-position: center;
    position: relative;
}

.login-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.8), rgba(13, 148, 136, 0.8));
    z-index: 1;
}

.login-image-content {
    position: relative;
    z-index: 2;
}

.login-form {
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow-y: auto;
}

.form-container {
    max-width: 450px;
    width: 100%;
    margin: 0 auto;

}

.input-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    transition: color 0.3s ease;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.form-input:focus + .input-icon {
    color: var(--primary-blue);
}

.form-input.error {
    border-color: var(--error-red);
}

.form-input.error:focus {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

.form-input.error + .input-icon {
    color: var(--error-red);
}

.error-message {
    color: var(--error-red);
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}

.error-message.visible {
    display: block;
    animation: fadeIn 0.3s ease;
}

.btn-primary {
    background: var(--gradient-mixed);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.btn-primary:hover::before {
    transform: translateX(0);
}

.btn-primary:hover {
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.25);
    transform: translateY(-2px);
}

.btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.link {
    color: var(--primary-blue);
    transition: color 0.3s ease;
    position: relative;
}

.link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--primary-blue);
    transition: width 0.3s ease;
}

.link:hover {
    color: var(--primary-blue-dark);
}

.link:hover::after {
    width: 100%;
}

/* Tabs */
.tabs {
    display: flex;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 2rem;
}

.tab {
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    color: #6b7280;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.tab::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-mixed);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tab.active {
    color: var(--primary-blue);
}

.tab.active::after {
    transform: scaleX(1);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

/* Password strength meter */
.password-strength {
    height: 5px;
    border-radius: 5px;
    margin-top: 0.5rem;
    background-color: #e5e7eb;
    overflow: hidden;
}

.password-strength-meter {
    height: 100%;
    width: 0;
    transition: width 0.3s ease, background-color 0.3s ease;
}

.password-strength-text {
    font-size: 0.75rem;
    margin-top: 0.25rem;
    text-align: right;
}

/* Animated elements */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 99, 235, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
    }
}

.fade-in-up {
    animation: fadeInUp 1s forwards;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

.delay-400 {
    animation-delay: 0.4s;
}

/* Medical SVG animation */
.heartbeat-line {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: dash 3s linear forwards infinite;
}

@keyframes dash {
    to {
        stroke-dashoffset: 0;
    }
}

.floating {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

.rotate-slow {
    animation: rotate 20s linear infinite;
}

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

/* Form progress indicator */
.progress-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    position: relative;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #e5e7eb;
    z-index: 1;
}

.progress-step {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: white;
    border: 2px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    color: #6b7280;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.progress-step.active {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    background-color: white;
}

.progress-step.completed {
    border-color: var(--primary-blue);
    background-color: var(--primary-blue);
    color: white;
}

.progress-step-label {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    white-space: nowrap;
    color: #6b7280;
}

.progress-step.active .progress-step-label {
    color: var(--primary-blue);
    font-weight: 500;
}

.progress-step.completed .progress-step-label {
    color: var(--primary-blue);
}

.progress-bar {
    position: absolute;
    top: 15px;
    left: 0;
    height: 2px;
    background: var(--gradient-mixed);
    z-index: 1;
    transition: width 0.3s ease;
}

/* Registration form steps */
.registration-step {
    display: none;
}

.registration-step.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .login-image {
        display: none;
    }

    .form-container {
        max-width: 100%;
        padding: 2rem 1.5rem;
    }

    .progress-step-label {
        font-size: 0.7rem;
    }
}

/* Custom select styling */
.custom-select {
    position: relative;
}

.custom-select select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 2.5rem;
    background-color: transparent;
    z-index: 1;
    position: relative;
}

.custom-select::after {
    content: '';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 0.8rem;
    height: 0.8rem;
    border-right: 2px solid #9ca3af;
    border-bottom: 2px solid #9ca3af;
    transform: translateY(-50%) rotate(45deg);
    pointer-events: none;
    transition: border-color 0.3s ease;
}

.custom-select:focus-within::after {
    border-color: var(--primary-blue);
}