/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Lato', sans-serif;
}

body {
    min-height: 100vh;
    background: #f5f5f5;
}

/* Header styles */
.header {
    background-color: #0085AA;
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header img {
    width: 100px;
}

/* Container styles */
.container {
    min-height: calc(100vh - 4rem); /* Subtract header height */
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

/* Background overlay */
.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('icons/patient/background.png');
    background-size: cover;
    background-position: center;
    filter: brightness(0.5);
    z-index: 0;
}

/* Form container */
.form-container {
    position: relative;
    background: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 28rem;
    z-index: 1;
}

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

.tabs a {
    text-decoration: none;
    color: #9ca3af;
    font-weight: 600;
    padding-bottom: 0.5rem;
    font-size: 0.875rem;
}

.tabs a.active {
    color: #0085AA;
    border-bottom: 2px solid #0085AA;
}

.alert{
    margin: 10px 0;
    width: 100%;
    border-radius: 5px;
    padding: 10px;
    text-align: center;
    background: red;
    font-size: 20px;
    color: white;
}
/* Form title and subtitle */
h3 {
    color: #e67e22;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.subtitle {
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

/* Input group styling */
.input-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

/* Label styling */
label {
    display: block;
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

/* Form controls */
.box {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    background-color: #f9fafb;
    font-size: 0.875rem;
    transition: border-color 0.15s ease;
}

.box:focus {
    outline: none;
    border-color: #0085AA;
    background-color: white;
}

/* Submit button */
/* Submit button */
.btn {
    width: 180px;  /* Fixed width */
    padding: 0.75rem;
    background-color: #0085AA;
    color: white;
    border: none;
    border-radius: 50px;  /* Rounded corners */
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background-color 0.15s ease;
    display: block;
    margin-left: 55%; /* move button to left */ 
}

.btn:hover {
    background-color: #2c4964;
}

/* Footer links */
.footer-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-links a {
    color: #6b7280;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.15s ease;
}

.footer-links a:hover {
    color: #0085AA;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .form-container {
        padding: 1.5rem;
    }
}

/* Form validation styles */
.box:invalid {
    border-color: #ef4444;
}

/* Placeholder styling */
.box::placeholder {
    color: #9ca3af;
}

/* Selection styling */
.box option {
    color: #1f2937;
}