* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    min-height: 100vh;
    color: #2d3748;

    background:
        radial-gradient(circle at top left,
        rgba(212,175,55,.20),
        transparent 35%),

        radial-gradient(circle at bottom right,
        rgba(184,134,11,.15),
        transparent 35%),

        linear-gradient(
            135deg,
            #fffdf8,
            #f8f6f0,
            #fef7e6
        );
}

.header {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 15px 40px;

    background: linear-gradient(
        135deg,
        #b8860b,
        #d4af37,
        #f7d774,
        #d4af37
    );

    box-shadow:
        0 6px 20px rgba(184,134,11,.25);
}

.header img {
    width: 115px;
    height: 115px;
    object-fit: contain;

    background: rgb(255, 255, 255);
    padding: 5px;

    border-radius: 25px;

    box-shadow:
        0 8px 20px rgba(0,0,0,.12);

    animation: logoFloat 3.2s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-7px) scale(1.03); }
}


.header-title {
    font-size: 30px;
    font-weight: 900;
    color: #1f2937;
    text-shadow: 0 2px 8px rgba(0,0,0,.25);
}

.header-subtitle {
    color: #4b5563;
    font-size: 15px;
    margin-top: 4px;
    font-weight: 600;
}

.container {
    padding: 42px 28px;
}

.login-box {
    max-width: 440px;
    margin: 35px auto;
}

.card, .stat {
    background: rgba(255,255,255,0.16);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 26px;
    box-shadow:
        0 24px 60px rgba(0,0,0,0.30),
        inset 0 1px 0 rgba(255,255,255,0.18);
}

.card {
    padding: 34px;
    margin-bottom: 26px;

    background: linear-gradient(
        135deg,
        #fffefb,
        #fff8e7,
        #fff4d6
    );

    border: 1px solid rgba(212,175,55,.25);

    border-radius: 24px;

    box-shadow:
        0 15px 40px rgba(0,0,0,.08);
}



h1, h2, h3 {
    margin-top: 0;
    color: #222222;
    font-weight: 800;
}
label {
    font-weight: 700;
    color: #2d3748;

}

input {
    width: 100%;
    margin-top: 8px;
    padding: 15px;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.45);
    background: rgba(255,255,255,0.92);
    color: #14332f;
    font-size: 16px;
    outline: none;
}

input:focus {
    border-color: #d6b47d;
    box-shadow: 0 0 0 4px rgba(214,180,125,0.22);
}

.btn {
    background: linear-gradient(
        135deg,
        #d4af37,
        #f7d774,
        #c89b3c
    );

    color: #2c1b00;
    padding: 14px 24px;
    border-radius: 18px;
    border: none;
    text-decoration: none;
    font-weight: 900;
    display: inline-block;
    margin: 6px 4px;
    cursor: pointer;

    box-shadow:
        0 10px 25px rgba(212,175,55,0.35);

    transition: .3s ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow:
        0 15px 35px rgba(212,175,55,0.50);
}
.btn-red {
    background: linear-gradient(
        135deg,
        #444444,
        #222222
    );

    color: white;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 22px;
    margin-bottom: 26px;
}

.stat {
    padding: 28px;
    position: relative;
    overflow: hidden;

    background: linear-gradient(
        135deg,
        #ffffff,
        #fff8e7
    );
    border: 1px solid rgba(212,175,55,.25);

}
.stat::after {
    content: "";
    position: absolute;
    right: -35px;
    top: -35px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: rgba(214,180,125,0.22);
}

.stat h2 {
    margin: 0;
    font-size: 42px;
    color: #b8860b;
    font-weight: 900;
}

.stat p {
    color: #333333;
    font-size: 17px;
    font-weight: 700;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 18px;
    overflow: hidden;
}

th {
    font-weight: 800;
    letter-spacing: .5px;
    background: linear-gradient(
        135deg,
        #b8860b,
        #d4af37
    );

    color: white;

    padding: 15px;
    text-align: left;
}

td {
    padding: 14px;
    color: #222222;
    font-weight: 600;
    border-bottom: 1px solid #dddddd;
}

tr:hover {
    background: rgba(255,255,255,0.08);
}

hr {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.32);
}

a {
    color: #2c1b00;
}

@media (max-width: 768px) {
    .header {
        padding: 13px;
        gap: 12px;
    }

    .header img {
        width: 58px;
        height: 58px;
        border-radius: 16px;
    }

    .header-title {
        font-size: 20px;
    }

    .header-subtitle {
        font-size: 12px;
    }

    .container {
        padding: 18px 12px;
    }

    .card {
        padding: 22px;
        border-radius: 22px;
    }

    .login-box {
        margin: 25px auto;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}
form input, form select {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
}
.status-working {
    color: #22c55e;
    font-weight: 800;
}

.status-break {
    color: #facc15;
    font-weight: 800;
}

.status-logout {
    color: #f87171;
    font-weight: 800;
}

.status-not-login {
    color: #cbd5e1;
    font-weight: 800;
}
/* ===== DC10G TABLE POLISH ===== */

.card table {
    margin-top: 18px;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border-radius: 18px;
}

.card table th {
    position: sticky;
    top: 0;
    z-index: 2;
    font-size: 15px;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.card table td {
    font-size: 15px;
    vertical-align: middle;
}

.card table tr:hover td {
    background: rgba(255, 255, 255, 0.08);
}

.table-wrap {
    width: 100%;
    overflow-x: auto;
    border-radius: 18px;
}
.login-layout {
    display: grid;
    grid-template-columns: 1fr 520px 1fr;
    gap: 34px;
    align-items: center;
    min-height: 620px;
}

.login-side-panel {
    padding: 30px;
    border-radius: 28px;
    background: rgba(172, 141, 14, 0.85);
    border: 1px solid rgba(212,175,55,0.20);
    box-shadow: 0 15px 40px rgba(0, 0, 0, .08);
}

.login-side-panel h2 {
    margin-bottom: 22px;
}

.login-side-panel p {
    font-size: 19px;
    margin: 18px 0;
    font-weight: 700;
}

.login-box {
    margin: 0;
}

@media (max-width: 1000px) {
    .login-layout {
        grid-template-columns: 1fr;
    }
}
.login-box {
    box-shadow:
        0 25px 60px rgba(212,175,55,.25);
}
.card h2,
.card h3 {
    text-shadow:
        0 0 10px rgba(255,215,0,.15);
}

.dc10g-floating-cloud{
    position:fixed;
    top:30%;
    right:30px;
    
    font-size:60px;
    z-index:100;
    animation: cloudMove 4s ease-in-out infinite;
}

@keyframes cloudMove{
    0%,100%{
        transform:translateY(0);
    }

    50%{
        transform:translateY(-15px);
    }
}
@keyframes cloudFloat {
    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }
}
table td {
    color: #222222 !important;
}

table tr {
    background: #fffdf7;
}

table tr:nth-child(even) {
    background: #fdf7e7;
}
label,
p,
span,
small {
    color: #222222 !important;
}
.card p,
.card span,
.card label,
.card small,
.card td {
    color: #3d3d3d !important;
}

.card h1,
.card h2,
.card h3 {
    color: #7a5a00 !important;
}