:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #8b5cf6;
    --accent: #0ea5e9;
    --light: #f8fafc;
    --dark: #1e293b;
    --gray: #64748b;
    --light-gray: #e2e8f0;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius: 8px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    
    background: linear-gradient(135deg, #f8fafc, #e2e8f0, #f1f5f9);
    background-image: 
        linear-gradient(135deg, #f8fafc, #e2e8f0, #f1f5f9),
        radial-gradient(circle at 100% 100%, rgba(37, 99, 235, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 0% 0%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
    background-attachment: fixed;
    min-height: 100vh;
}


.container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}


header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 1.2rem 5%;
    box-shadow: var(--shadow);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    flex: 1;
}

.logo i {
    font-size: 2rem;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

nav a:hover {
    opacity: 0.9;
    text-decoration: underline;
}


main {
    flex: 1;
    padding: 2rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.hero {
    text-align: center;
    padding: 2rem 1rem;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.hero p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 1.5rem;
    color: var(--gray);
}


.ad-container {
    background-color: var(--light);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin: 2rem auto;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px dashed var(--gray);
}

.ad-container h3 {
    color: var(--gray);
    margin-bottom: 0.5rem;
}


.estimator-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .estimator-container {
        flex-direction: row;
    }

    .form-section {
        flex: 1;
    }

    .results-section {
        flex: 1;
    }
}

.card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card h2 {
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--light-gray);
    color: var(--primary-dark);
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark);
}

select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 1em;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

select,
textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--light-gray);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: var(--transition);
}

select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

textarea {
    min-height: 150px;
    resize: vertical;
}

.button-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-secondary {
    background: var(--light);
    color: var(--dark);
    border: 1px solid var(--light-gray);
}

.btn-secondary:hover {
    background: var(--light-gray);
}


.result-card {
    background: white;
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

#result-content {
    display: none;
}

#result-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.result-card.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.result-title {
    font-size: 1.5rem;
    color: var(--primary-dark);
}

.result-content {
    margin: 1.5rem 0;
}

.estimation-value {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    color: var(--primary);
    margin: 1.5rem 0;
}

.estimation-details {
    background: var(--light);
    padding: 1rem;
    border-radius: var(--radius);
    margin-top: 1rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--light-gray);
}

.detail-item:last-child {
    border-bottom: none;
}


.techniques {
    margin-top: 3rem;
}

.techniques h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--dark);
}

.technique-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.tech-card {
    background: white;
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.tech-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.tech-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.tech-card h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}


footer {
    background: var(--dark);
    color: white;
    padding: 2rem 5%;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid #334155;
    color: #94a3b8;
}


@media (max-width: 768px) {
    .header-content {
        flex-direction: row;
        gap: 1rem;
    }

    nav ul {
        gap: 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .button-group {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}

.ad-sidebar {
    display: none;
}

@media (min-width: 992px) {
    .ad-sidebar {
        display: block;
        position: fixed;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        width: 160px;
        background: white;
        padding: 1rem;
        border-radius: var(--radius);
        box-shadow: var(--shadow);
        text-align: center;
    }
}

.required {
    color: var(--danger);
    margin-left: 4px;
    font-weight: bold;
}

.error-message {
    color: var(--danger);
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}

.info-message {
    color: var(--accent);
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
    font-style: italic;
}

.info-message i {
    margin-right: 0.5rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.invalid-field {
    border: 1px solid var(--danger) !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

.checkbox-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.checkbox-group {
    border: 1px solid var(--light-gray);
    border-radius: var(--radius);
    padding: 1rem;
    margin-bottom: 1rem;
    background: #fff;
}

.checkbox-group legend {
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    color: var(--dark);
    font-weight: normal;
    margin-bottom: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 8px;
}

.select-all-label {
    display: inline-block;
    font-weight: 500;
    margin-bottom: 0.75rem;
    cursor: pointer;
}


.checkbox-group.two-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
}

@media (min-width: 768px) {
    .checkbox-group.two-columns {
        grid-template-columns: 1fr 1fr;
    }
}

.checkbox-group.two-columns label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    background-color: var(--light);
    border: 1px solid var(--light-gray);
    border-radius: var(--radius);
    transition: var(--transition);
    cursor: pointer;
}

.checkbox-group.two-columns label:hover {
    background-color: #f1f5f9;
}

.checkbox-group input[type="checkbox"] {
    accent-color: var(--primary);
    transform: scale(1.1);
}

.number-field-group {
    display: grid;
    gap: 1rem;
    padding-bottom: 1rem;
}

@media (min-width: 768px) {
    .number-field-group {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

.number-field-group label {
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 0.3rem;
    display: block;
}

.number-field-group input[type="number"] {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--light-gray);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: var(--transition);
}

.number-field-group input[type="number"]:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.fields-message {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    padding: 1rem;
    margin: 1rem 0;
    text-align: center;
}

.fields-message p {
    color: #6c757d;
    margin: 0;
}

.fields-message i {
    margin-right: 0.5rem;
    color: #17a2b8;
}

.tooltip-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.tooltip-icon {
    position: relative;
    background-color: var(--primary);
    color: white;
    font-weight: bold;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 0.75rem;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    
}

.tooltip-text {
    position: absolute;
    top: 50%;
    left: calc(100% + 10px);
    transform: translateY(-50%);
    background-color: var(--dark);
    color: white;
    padding: 6px 10px;
    font-size: 0.8rem;
    border-radius: 6px;
    white-space: nowrap;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease-in-out;
    z-index: 10;
    pointer-events: none;
    
}


.tooltip-icon.active .tooltip-text {
    opacity: 1;
    visibility: visible;
}


.tooltip-text::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 100%;
    transform: translateY(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: transparent var(--dark) transparent transparent;
}

.tooltip-icon:hover .tooltip-text {
    opacity: 1;
    visibility: visible;
}


@media (max-width: 768px) {
    .tooltip-text {
        
        bottom: calc(100% + 10px);
        top: auto;
        left: 50%;
        transform: translateX(-50%);
        
        white-space: normal;
        width: 220px;
        max-width: 80vw;
        
        text-align: center;
        pointer-events: none;
        z-index: 1000;
    }

    .tooltip-text::before {
        
        top: 100%;
        left: 50%;
        right: auto;
        
        transform: translateX(-50%);
        
        border-color: var(--dark) transparent transparent transparent;
    }
}

.about-section {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.6;
    color: #333;
}

.about-section h1,
.about-section h2 {
    color: #282864;
    margin-bottom: 10px;
}

.about-section p,
.about-section ul {
    margin-bottom: 15px;
}

.about-section ul {
    padding-left: 20px;
}

.about-section a {
    color: #0056b3;
    text-decoration: none;
    font-weight: bold;
}

.about-section a:hover {
    text-decoration: underline;
}

.about-section .btn-primary {
    background: var(--accent);
    color: white;
    text-decoration: none;
}

.about-section .btn-primary:hover {
    background: var(--primary);
    transform: translateY(-2px);
}


.guide-section {
    max-width: 1100px;
    margin: 20px auto;
    padding: 24px;
    line-height: 1.8;
    font-size: 1.05rem;
}


.guide-section h1 {
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    border-bottom: 3px solid var(--primary);
    padding-bottom: 0.5rem;
}

.guide-section h2 {
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin: 2rem 0 1rem;
    border-left: 4px solid var(--primary);
    padding-left: 1rem;
}

.guide-section h3 {
    font-size: 1.4rem;
    color: var(--dark);
    margin: 1.5rem 0 1rem;
}


.guide-section ul {
    list-style: none;
    padding-left: 0;
}

.guide-section ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
}

.guide-section ul li::before {
    content: "•";
    color: var(--primary);
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: -2px;
}


.guide-section ol {
    counter-reset: item;
    list-style: none;
    padding-left: 0;
}

.guide-section ol li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    counter-increment: item;
}

.guide-section ol li::before {
    content: counter(item);
    color: white;
    background: var(--primary);
    font-size: 0.9rem;
    font-weight: bold;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 0;
    top: 2px;
}


.example-box {
    background: #f8fafc;
    border-left: 4px solid var(--primary);
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.example-box h3 {
    color: var(--primary-dark);
    margin-top: 0;
}


.guide-section table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 1.5rem 0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.guide-section th {
    background: var(--primary);
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    padding: 1rem;
}

.guide-section td {
    padding: 1rem;
    border-bottom: 1px solid var(--light-gray);
    background: white;
}

.guide-section tr:last-child td {
    border-bottom: none;
}


.faq dt {
    font-weight: 600;
    color: var(--primary-dark);
    margin-top: 1.5rem;
    font-size: 1.1rem;
}

.faq dd {
    margin: 0.5rem 0 1.5rem 1rem;
    padding-left: 1rem;
    border-left: 2px solid var(--light-gray);
}


label.tooltip-wrapper {
    display: inline-flex;
    align-items: center;
    margin-bottom: 0;
    font-weight: normal;
}

.form-section label {
    color: var(--dark);
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: block;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    color: var(--dark);
    font-weight: normal;
    margin-bottom: 0.5rem;
}

.select-all-label {
    color: var(--primary-dark);
    font-weight: 500;
    margin-bottom: 1rem;
    display: inline-block;
}

.checkbox-title {
    color: var(--primary-dark);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.button-group {
    margin-top: 1.5rem;
}

.button-group .btn {
    padding: 0.8rem 1.5rem;
    text-align: center;
    min-width: 180px;
}


input[type="text"],
input[type="email"],
input[type="number"],
textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--light-gray);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: var(--transition);
    background-color: white;
    color: var(--dark);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}


input[type="text"]:disabled,
input[type="email"]:disabled,
input[type="number"]:disabled,
textarea:disabled,
select:disabled {
    background-color: #f1f5f9;
    color: var(--gray);
    cursor: not-allowed;
    opacity: 0.7;
    border-color: var(--light-gray);
}

input[type="text"]:disabled:hover,
input[type="email"]:disabled:hover,
input[type="number"]:disabled:hover,
textarea:disabled:hover,
select:disabled:hover {
    border-color: var(--light-gray);
    box-shadow: none;
}


.scroll-buttons {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: none;
    flex-direction: column;
    gap: 8px;
    z-index: 1000;
}

.scroll-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    opacity: 0.8;
}

.scroll-btn:hover {
    opacity: 1;
    transform: translateY(-2px);
    background: var(--primary-dark);
}


@media (max-width: 768px) {
    .scroll-buttons {
        right: 10px;
        bottom: 10px;
    }

    .scroll-btn {
        width: 35px;
        height: 35px;
    }

    input[type="text"],
    input[type="email"],
    input[type="number"],
    textarea {
        font-size: 16px;
        
    }
}

.btn-accent {
    margin-top: 15px;
    padding: 0.8rem 1.5rem;
    text-align: center;
    min-width: 180px;
    transition: var(--transition);
}

.btn-accent:not(:disabled) {
    background: var(--primary);
    color: white;
    cursor: pointer;
}

.btn-accent:disabled {
    background: #f1f5f9;
    color: var(--gray);
    cursor: not-allowed;
    opacity: 0.7;
    border: 1px solid var(--light-gray);
}

.btn-accent:not(:disabled):hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.guide-section .btn-primary {
    text-decoration: none;
    color: white;
}

.guide-section .btn-primary:hover {
    text-decoration: none;
    color: white;
}


.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 100;
    order: 2;
}

.hamburger-menu span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: white;
    transition: all 0.3s ease;
}


.hamburger-menu.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}


@media (max-width: 768px) {
    .hamburger-menu {
        display: flex;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--primary-dark);
        padding: 2rem;
        transition: 0.3s ease;
        z-index: 99;
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        margin-top: 2rem;
    }

    nav ul li {
        margin: 1rem 0;
    }

    .overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 98;
    }

    .overlay.active {
        display: block;
    }
}

.tabs-container {
    width: 100%;
    margin: 20px 0;
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 20px;
    backdrop-filter: blur(10px);
}

.tabs-container {
    background: linear-gradient(to right, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.95));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(226, 232, 240, 0.3);
    box-shadow: var(--shadow-lg);
}

.tabs {
    display: flex;
    gap: 2px;
    margin-bottom: 30px;
    background: var(--light);
    padding: 5px;
    border-radius: var(--radius);
    position: relative;
}

.tab-button {
    flex: 1;
    padding: 12px 24px;
    border: none;
    background-color: transparent;
    cursor: pointer;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tab-button:hover {
    color: var(--primary);
}

.tab-button.active {
    background-color: white;
    color: var(--primary);
    box-shadow: var(--shadow);
}

.tab-button.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30%;
    height: 3px;
    background-color: var(--primary);
    border-radius: 3px 3px 0 0;
}

.tab-content {
    background: transparent;
    border-radius: var(--radius);
}

.tab-pane {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@media (max-width: 768px) {
    .tabs {
        flex-direction: column;
        gap: 5px;
    }

    .tab-button {
        width: 100%;
        text-align: center;
    }

    .tab-button.active::after {
        width: 50px;
    }
}

.time-input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    align-items: stretch; 
}

.time-input-group input[type="number"] {
    flex: 1;
    min-width: 80px;
    border: 1px solid var(--light-gray);
    border-radius: var(--radius);
    padding: 0.8rem;
    font-size: 1rem;
    transition: var(--transition);
}

.time-input-group input[type="number"]:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.time-input-group select {
    min-width: 100px;
    padding: 0.8rem 2rem 0.8rem 0.8rem; 
    border: 1px solid var(--light-gray);
    border-radius: var(--radius);
    background-color: white;
    font-size: 1rem;
    transition: var(--transition);
    background-position: right 0.8rem center; 
    cursor: pointer;
}

.time-input-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}