/* ================= LAYOUT ================= */ 
.layout { min-height: 100vh; } 
.container { max-width: 73.5vw; } 
.row { margin: 0; } 

/* ================= HEADER ================= */
.header {
    height: 22vh;
    max-height: 157px;
    display: flex;
}

.header .row { height: 100%; }

.logo-card {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    gap: 8px;
    height: 100%;
}

.logo-img {
    height: 22vh;
    max-height: 157px;
    width: auto;
}

.logo-card p.name {
    color: #67aae4;
    font-weight: 600;
    font-size: 1rem;
    margin: 0;
    line-height: 1.2;
    width: 200px;
    box-sizing:content-box;
}

/* ================= MAIN ================= */ 
.main { margin-top: 8px; }

/* Cards */
.card {
    background: #F9FAF9;
    height: 75vh;
    max-height: 500px;
    border-radius: 10px;
    padding: 7px;
    display: flex;
    flex-direction: column;
    box-shadow: 2px 2px 4px 2px #E7E7E7;
    border: none;
}

.card h3 {
    font-size: 16px;
    margin-bottom: 16px;
    color: #3A5FA0;
}

.card-top {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 10px;
}

.icon { width: 24px; height: 24px; }

.dashed {
    height: 1px;
    background: repeating-linear-gradient(to left, #e7e7e7, #e7e7e7 4px, transparent 4px, transparent 8px);
    margin-bottom: 30px;
}
.name{
    padding-right: 140px;
}
/* Inputs */
input {
    width: 100%;
    height: 48px;
    padding: 12px;
    margin-bottom: 7px;
    border-radius: 5px;
    font-size: 14px;
    outline: none;
    color: #BDBDBD;
}

/* Login section */
.login-section {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 7px;
}

.login-section img { width: 27px; height: 27px; flex-shrink: 0; }

.login-section input {
    flex: 1;
    height: 48px;
    padding: 12px;
    border-radius: 5px;
    font-size: 14px;
    border: 1px solid #BDBDBD;
    outline: none;
    margin: 0;
}

/* Buttons */
button {
    padding: 0;
    margin: 0;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

button.loginBtn {
    height: 44px;
    background-color: #007BFF;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    margin-bottom: 10px;
}

.card button:not(.loginBtn) {
    height: 44px;
    border: 1px solid #cfd8dc;
    background: #F9FAF9;
    border-radius: 5px;
    color: #007BFF;
    text-align: right;
    padding-right: 10px;
}

/* Links */
a { font-size: 12px; color: #666; text-decoration: none; margin-top: 6px; padding: 10px 0; } 
a.highlight { color: #007BFF; }

.comp { color: darkblue; font-size: 0.8rem; bottom: 4px; right: 4px; }

/* ================= MOBILE FIX ================= */
@media (max-width: 768px) {
    /* Columns stack */
    .col-md-3, .col-md-6, .col-md-9 { flex: 0 0 100%; max-width: 100%; margin-bottom: 1rem; }
    .inside-container { width: 100%; margin-bottom: 1rem; }

    /* Cards auto height */
    .card, .login-card { height: auto !important; padding: 0.5rem; min-height: 180px; }

    /* Card titles smaller */
    .card h3 { font-size: 0.875rem; margin-bottom: 0.5rem; }

    /* Icons smaller */
    .icon { width: 1.25rem; height: 1.25rem; }
    .login-section img { width: 1rem; height: 1rem; }
    .login-section input { height: 2rem; font-size: 0.75rem; padding: 0.25rem; }
    button.loginBtn, .card button:not(.loginBtn) { height: 2rem; font-size: 0.75rem; }
    a { font-size: 0.625rem; }

    /* Header scales */
    .header { height: auto; padding: 0.5rem 0.625rem; }
    .logo-img { height: auto; max-height: 70px; }
    .logo-card p.name { font-size: 0.875rem; }
    .name{
    padding-right:0px;
}
}
