/* ===== HEADER ===== */
.app-header {
    background: #001529;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
    color: white;
}
.validation-message {
    color: red;
}
.header-left {
    display: flex;
    align-items: center;
}
.form-action-bar {
    margin-top: 24px !important;
    text-align: right;
}
.app-title {
    font-size: 16px;
    font-weight: 600;
    margin-left: 12px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 8px;
}
.header-right .header-user {
    color: #f5f5f5;
}

.header-right a {
    color: #ffffff;
}

.header-right a:hover {
    color: #e6f7ff;
}

/* ===== SIDEBAR LOGO ===== */
.logo {
    height: 56px;
    margin: 16px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.12);
    color: white;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== CONTENT ===== */
.app-content {
    margin: 16px;
    background: #f5f6f8;
}

.page-container {
    background: white;
    padding: 24px;
    border-radius: 6px;
    min-height: calc(100vh - 160px);
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

/* ===== MENU ===== */
.ant-menu-item {
    margin: 6px 0 !important;
}

.trigger {
    font-size: 18px;
    cursor: pointer;
}

    .trigger:hover {
        color: #1890ff;
    }


.login-container {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f6f8;
}

.login-card {
    width: 360px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-radius: 6px;
}

@media (max-width: 768px) {
    .app-header {
        padding: 0 12px;
        height: auto;
        flex-wrap: wrap;
        gap: 8px;
    }

    .header-left {
        flex: 1 1 auto;
    }

    .app-title {
        font-size: 14px;
    }

    .header-right {
        flex: 1 1 auto;
        justify-content: flex-end;
        flex-wrap: wrap;
        gap: 6px;
    }

    .app-content {
        margin: 12px;
    }

    .page-container {
        padding: 16px;
        min-height: auto;
    }

    .ant-card {
        overflow-x: auto;
    }

    .ant-table {
        min-width: 600px;
    }
}

@media (max-width: 480px) {
    .app-header {
        padding: 0 8px;
    }

    .app-title {
        display: none;
    }

    .header-user {
        font-size: 12px;
    }

    .app-content {
        margin: 8px;
    }

    .page-container {
        padding: 12px;
    }
}
