html {
  font-size: 16px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  /*margin-bottom: 60px;*/
}
.header {
    /* box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.09)!important;*/
    box-shadow: 0 3px 6px 0 rgba(50, 50, 50, .8) !important;
   
}
.navbar {
    padding-top: 5px;
    padding-bottom: 5px;
    box-shadow: 0 3px 6px 0 rgba(50, 50, 50, .3) !important;
}


.two-tone-logo {
    display: inline-flex;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 800;
    font-size: 2rem;
    text-transform: uppercase;
    line-height: 1;
}

.t-letter {
    color: #3498db; /* Blue color for 'T' */
   /* text-shadow: 1px 1px 0 #2980b9;*/
}

.ools-letters {
    color: #5a5c5e; /* Red color for 'OOLS' */
   /* text-shadow: 1px 1px 0 #c0392b;*/
    position: relative;
    left: 0px; /* Slight overlap for connected look */
}
/* Card Styles */
.age-calculator-card {
    border-radius: 15px;
    overflow: hidden;
    border: 0;
    box-shadow:0 0.5rem 0.5rem rgba(0, 0, 0, 0.075);
}

.card-body {
    padding: 1rem;
}

/* Calculator Header - Matches homepage styling */
.calculator-header {
    text-align: center;
    margin-bottom: 2rem;
}

.calculator-title {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.calculator-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Input Container - Matches homepage form styling */
.input-container {
    position: relative;
    margin-bottom: 1.5rem;
}

.dob-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    border: 1px solid var(--input-border);
    font-size: 1rem;
    background-color: var(--input-bg);
    color: var(--input-text);
    transition: border-color 0.15s ease-in-out;
}

    .dob-input:focus {
        border-color: var(--primary-color);
        outline: 0;
        box-shadow: 0 0 0 0.25rem rgba(var(--primary-color-rgb), 0.25);
    }

.input-label {
    position: absolute;
    top: -0.5rem;
    left: 0.75rem;
    background-color: var(--card-bg);
    padding: 0 0.5rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
    z-index: 1;
}

/* Calculate Button - Matches homepage button styling */
.calculate-btn {
    width: 100%;
    padding: 0.75rem;
    font-weight: 600;
    border-radius: 0.375rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    transition: all 0.2s ease;
}

    .calculate-btn:hover {
        background-color: var(--secondary-color);
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(var(--primary-color-rgb), 0.2);
    }

/* Make sure these variables are defined in your theme CSS */
:root {
    --primary-color: #4361ee;
    --secondary-color: #3a0ca3;
    --primary-color-rgb: 67, 97, 238;
    --text-muted: #6c757d;
    --input-bg: #ffffff;
    --input-text: #212529;
    --input-border: #ced4da;
    --card-bg: #ffffff;
}

[data-bs-theme="dark"] {
    --primary-color: #4cc9f0;
    --secondary-color: #4895ef;
    --primary-color-rgb: 76, 201, 240;
    --text-muted: #adb5bd;
    --input-bg: #2c3034;
    --input-text: #f8f9fa;
    --input-border: #495057;
    --card-bg: #2c3034;
}

/* Result Styles */
.result-container {
    display: none;
    margin-top: 1.5rem;
    padding: 1rem;
    text-align: center;
    border-radius: 10px;
    background-color: #d1ecf1;
    border-left: 4px solid #0dcaf0;
}

.result-title {
    margin-bottom: 0.5rem;
    color: #0c5460;
}

.result-value {
    font-size: 1.25rem;
    font-weight: 500;
}

.age-results-list {
    /*text-align: left;*/
    margin: 0;
    padding: 0;
    list-style-type: none;
    font-family: 'Segoe UI', Arial, sans-serif;
   /* max-width: 400px;*/
}

    .age-results-list li:not(.or-separator) {
        padding: 10px 15px;
        margin-bottom: 4px;
        background-color: #f8f9fa;
        border-radius: 6px;
        border-left: 3px solid #0d6efd;
        border-right: 3px solid #0d6efd;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        transition: all 0.2s ease;
    }

        .age-results-list li:not(.or-separator):hover {
            background-color: #e9ecef;
            transform: translateX(3px);
        }

.or-separator {
    text-align: center;
    color: #6c757d;
    font-style: italic;
    margin: 5px 0;
    padding: 2px 0;
    font-size: 0.9em;
}

.result-label {
    font-weight: 600;
    color: #212529;
    margin-right: 8px;
}

.result-value {
    color: #0d6efd;
    font-weight: 500;
}

.drop-zone {
    border: 2px dashed #aaa;
    padding: 30px;
    text-align: center;
    background-color: #f5f5f5;
    cursor: pointer;
}

.preview-box {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 10px;
    background: white;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

    .preview-box img {
        max-height: 350px;
    }