/* Custom CSS for ClinicDataSmart Frontend */
body {
    font-family: 'Inter', sans-serif;
}

.gradient-text {
    background: linear-gradient(135deg, #0ea5e9 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-gradient {
    background: radial-gradient(circle at 30% 107%, rgba(14, 165, 233, 0.05) 0%, rgba(255, 255, 255, 0) 50%),
                radial-gradient(circle at 70% 40%, rgba(59, 130, 246, 0.05) 0%, rgba(255, 255, 255, 0) 50%);
}

.service-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
}

@keyframes blob {
    0% { transform: translate(0px, 0px) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
    100% { transform: translate(0px, 0px) scale(1); }
}

.animate-blob {
    animation: blob 7s infinite;
}

.animation-delay-2000 {
    animation-delay: 2s;
}

.animation-delay-4000 {
    animation-delay: 4s;
}

body {
    overflow-x: hidden;
}

@media (max-width: 640px) {
    body {
        overflow-x: hidden;
    }
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
}

.container {
    width: 100%;
    max-width: 100vw;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
    box-sizing: border-box;
}

.grid {
    width: 100%;
    margin: 0;
    padding: 0;
}

@media (max-width: 640px) {
    .grid {
        margin-left: 0;
        margin-right: 0;
    }
}

/* Multi-step Form Styles */
.step-content {
    display: none;
}

.step-content.active {
    display: block;
}

.step-item.completed:not(:last-child)::after {
    background-color: #10b981;
}

/* Form Styles Improvements */
#addNewHospital input, 
#addNewHospital select, 
#addNewHospital textarea {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

#addNewHospital input:focus, 
#addNewHospital select:focus, 
#addNewHospital textarea:focus {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #0ea5e9;
    box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.2);
    outline: none;
}

.step-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
    position: relative;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.step-item {
    flex: 1;
    text-align: center;
    position: relative;
}

.step-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 1.25rem;
    left: 50%;
    width: 100%;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.1);
    z-index: 0;
}

.step-item.active:not(:last-child)::after {
    background-color: #0ea5e9;
}

.step-number {
    width: 2.5rem;
    height: 2.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.step-item.active .step-number {
    border-color: #0ea5e9;
    color: #fff;
    background-color: #0ea5e9;
    box-shadow: 0 0 15px rgba(14, 165, 233, 0.4);
}

.step-item.completed .step-number {
    background-color: #10b981;
    border-color: #10b981;
    color: #fff;
}
