/* BloodTest Portal - Modern UI */
@import url('https://fonts.googleapis.com/css?family=Roboto:400,700&display=swap');

body {
    font-family: 'Roboto', Arial, sans-serif;
    background: #f5f5f5;
    color: #2c2c2c;
    line-height: 1.6;
    margin: 0;
    min-height: 100vh;
    position: relative;
}

.container {
    max-width: 400px;
    margin: 60px auto;
    background: #fff;
    padding: 32px 28px 24px 28px;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

h1 {
    text-align: center;
    margin-bottom: 24px;
    font-size: 2rem;
    color: #007bff;
}

.form-group {
    margin-bottom: 18px;
}

label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
}

input[type="email"],
input[type="password"],
input[type="text"] {
    width: 100%;
    padding: 12px;
    border: 1.5px solid #cfd8dc;
    border-radius: 4px;
    font-size: 1rem;
    background: #f8f9fa;
    margin-bottom: 6px;
    box-sizing: border-box;
}

input[type="email"]:focus,
input[type="password"]:focus,
input[type="text"]:focus {
    border: 1.5px solid #007bff;
    outline: none;
}

button[type="submit"] {
    width: 100%;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 12px 0;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 8px;
}

button[type="submit"]:hover {
    background: #0056b3;
}

.message {
    margin-top: 12px;
    color: #d32f2f;
    text-align: center;
    min-height: 20px;
}

p {
    text-align: center;
    margin-top: 18px;
    color: #555;
}

a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Card styles for dashboard and results */
.card {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    display: block;
}

.card-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.card-description {
    color: #666;
    font-size: 15px;
    line-height: 1.5;
}

/* Restore styles for index.html main sections */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}
.hero-section {
    text-align: center;
    margin-bottom: 40px;
}
.hero-title {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 18px;
    color: #1a1a1a;
    text-shadow: 0 2px 4px rgba(0,0,0,0.08);
}
.hero-subtitle {
    font-size: 18px;
    color: #555;
    max-width: 600px;
    margin: 0 auto 40px;
    font-weight: 400;
}
.cta-section {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 40px 30px;
    text-align: center;
    margin-bottom: 50px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}
.btn {
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    min-width: 140px;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.btn-primary {
    background: #007bff;
    color: #fff;
}
.btn-primary:hover {
    background: #0056b3;
    color: #fff;
}
.btn-secondary {
    background: #fff;
    color: #007bff;
    border: 2px solid #007bff;
}
.btn-secondary:hover {
    background: #007bff;
    color: #fff;
}
.card {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    display: block;
}
.card-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1a1a1a;
}
.card-description {
    color: #666;
    font-size: 15px;
    line-height: 1.5;
}
.footer {
    background: #000;
    color: #fff;
    text-align: center;
    padding: 18px 0;
    margin-top: 60px;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100vw;
    z-index: 200;
}

/* Header styles */
.header {
    background: #007bff;
    color: white;
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.logo {
    font-size: 1.7rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
}
.logo-icon {
    background: #fff;
    color: #007bff;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-right: 10px;
    font-weight: 700;
}
.nav-links {
    list-style: none;
    display: flex;
    gap: 24px;
    margin: 0;
    padding: 0;
}
.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.2s;
}
.nav-links a:hover {
    color: #00ff88;
}

/* Responsive adjustments for index.html */
@media (max-width: 700px) {
    .main-content { padding: 30px 5px; }
    .hero-title { font-size: 26px; }
    .cta-section { padding: 20px 5px; }
    .card { padding: 18px; }
}
p {
    text-align: center;
    margin-top: 18px;
    color: #555;
}
a {
    color: #007bff;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
@media (max-width: 700px) {
    .main-content { padding: 30px 5px; }
    .hero-title { font-size: 26px; }
    .cta-section { padding: 20px 5px; }
    .card { padding: 18px; }
}

select[name="testType"] {
    width: 100%;
    padding: 12px;
    border: 1.5px solid #cfd8dc;
    border-radius: 4px;
    font-size: 1rem;
    background: #f8f9fa;
    margin-bottom: 12px;
    box-sizing: border-box;
    appearance: none;
    outline: none;
    transition: border 0.2s;
}

select[name="testType"]:focus {
    border: 1.5px solid #007bff;
    background: #fff;
}

select[name="testType"] option {
    font-size: 1rem;
    color: #2c2c2c;
    background: #fff;
}

#resultsList {
    padding-left: 0;
    margin: 0;
    width: 100%;
}

#resultsList li {
    text-align: center;
    width: 100%;
    margin: 0 auto 18px auto;
    display: block;
    box-sizing: border-box;
}
