﻿
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-justify: inherit;
}

body {
    font-family: "SF Pro Display",serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4edf5 100%);
    min-height: 100vh;
    padding: 20px;
}

/* Container chính */
.iuh__tracuu {
    max-width: 900px;
/*    margin: 30px auto;*/
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
/*    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);*/
/*    padding: 30px;
}*/

/* Header (nếu dùng lại) */
.iuh__tracuu-header {
    text-align: center;
    margin-bottom: 25px;
}

.iuh__tracuu-logo {
    height: 60px;
    margin-bottom: 10px;
}

.iuh__tracuu-title {
    font-size: 1.8rem;
    color: #1e3a8a;
    font-weight: 700;
}

/* Form - Bố cục 2x2 */
.iuh__tracuu-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

.iuh__group {
    display: flex;
    flex-direction: column;
}

    .iuh__group.full-width {
        grid-column: span 2;
    }

.iuh__label {
    font-weight: 600;
    color: #1e40af;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.iuh__input {
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #fafbff;
}
.iuh__select {
    padding: 16px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #fafbff;
}

    .iuh__input:focus,
    .iuh__select:focus {
        outline: none;
        border-color: #3b82f6;
        background-color: #ffffff;
        box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
    }

    .iuh__input::placeholder {
        color: #94a3b8;
    }

/* Captcha */
.iuh__captcha-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.iuh__captcha-box {
    position: relative;
    display: flex;
    align-items: center;
    background: #f1f5f9;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid #e2e8f0;
}

.iuh__captcha-img {
    height: 50px;
    width: auto;
}

.iuh__captcha-reload {
    background: #3b82f6;
    color: white;
    border: none;
    width: 40px;
    height: 50px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background 0.3s;
}

    .iuh__captcha-reload:hover {
        background: #2563eb;
    }

.iuh__captcha-input {
    flex: 1;
    min-width: 120px;
}

.iuh__note {
    color: #64748b;
    font-size: 0.85rem;
    margin-top: 5px;
    grid-column: span 2;
}

/* Nút Submit */
.iuh__btn {
    grid-column: span 2;
    justify-self: center;
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(to right, #1e40af, #1e3a8a);
    color: white;
    padding: 14px 32px;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
    margin-top: 10px;
}

    .iuh__btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(30, 64, 175, 0.4);
        background: linear-gradient(to right, #1e3a8a, #1e2a78);
    }

.iuh__arrow {
    width: 20px;
    height: 20px;
}

/* Thông báo nổi bật */
.iuh__alert {
    padding: 16px 20px;
    border-radius: 12px;
    margin: 20px 0;
    font-weight: 500;
    text-align: center;
    animation: fadeIn 0.5s ease;
}

    .iuh__alert.success {
        background: linear-gradient(to right, #d1fae5, #a7f3d0);
        color: #065f46;
        border: 1px solid #6ee7b7;
    }

    .iuh__alert.error {
        background: linear-gradient(to right, #fee2e2, #fecaca);
        color: #991b1b;
        border: 1px solid #fca5a5;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Kết quả - Card 2 cột */
.iuh__result {
    margin-top: 30px;
}

.iuh__result-title {
    text-align: center;
    color: #1e3a8a;
    margin-bottom: 20px;
    font-size: 1.6rem;
    font-weight: 700;
}

.iuh__card-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.iuh__card {
    background: #f8fafc;
    border-radius: 14px;
    padding: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
}

    .iuh__card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    }

.iuh__card-title {
    color: #1e40af;
    font-size: 1.2rem;
    margin-bottom: 16px;
    font-weight: 600;
    border-bottom: 2px solid #3b82f6;
    padding-bottom: 8px;
}

.iuh__card-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 0.95rem;
    color: #475569;
}

    .iuh__card-row span:first-child {
        font-weight: 600;
        color: #1e293b;
    }

.highlight {
    color: #dc2626;
    font-weight: 700;
    font-size: 1.1em;
}
/*NHAC NHO*/
.iuh__noteinfo {
    background-color: #d5f8ff;
    border-left: 6px solid #4358a8;
    padding: 16px 20px;
    border-radius: 8px;
    font-size: 15px;
    line-height: 1.6;
    color: #444;
    margin-top: 24px;
    text-justify: inherit;
}

    .iuh__noteinfo strong {
        color: #b45309;
    }

    .iuh__noteinfo a {
        color: #2563eb;
        text-decoration: none;
    }

        .iuh__note a:hover {
            text-decoration: underline;
        }



/* Responsive */
@media (max-width: 768px) {
    .iuh__tracuu-form,
    .iuh__card-container {
        grid-template-columns: 1fr;
    }

    .iuh__group.full-width,
    .iuh__btn {
        grid-column: span 1;
    }

    .iuh__tracuu {
        padding: 20px;
        margin: 15px;
    }

    .iuh__tracuu-title {
        font-size: 1.5rem;
    }
}
