/* SAP Enduser Simulator - Main Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* SAP Colors */
    --sap-blue: #354a5f;
    --sap-light-blue: #5a7a99;
    --sap-dark-blue: #1a2a3f;
    --sap-yellow: #f0ab00;
    --sap-orange: #e67e22;
    --sap-gray: #d4d4d4;
    --sap-dark-gray: #808080;
    --sap-light-gray: #e8e8e8;
    --sap-white: #ffffff;
    --sap-green: #0a6640;
    --sap-red: #bb0000;

    /* Desktop Colors */
    --desktop-bg: #008080;
    --taskbar-bg: #c0c0c0;
    --window-border: #dfdfdf;

    /* Fonts */
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-mono: 'Courier New', Consolas, monospace;

    /* Sizes */
    --taskbar-height: 36px;
    --titlebar-height: 24px;
}

body {
    font-family: var(--font-main);
    background-color: var(--desktop-bg);
    min-height: 100vh;
    overflow: hidden;
    user-select: none;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

.flex {
    display: flex;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.text-ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 16px;
    height: 16px;
}

::-webkit-scrollbar-track {
    background: var(--sap-light-gray);
    border: 1px solid var(--sap-dark-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--sap-gray);
    border: 2px outset var(--window-border);
}

::-webkit-scrollbar-thumb:hover {
    background: #b0b0b0;
}

::-webkit-scrollbar-button {
    background: var(--sap-gray);
    border: 2px outset var(--window-border);
    height: 16px;
    width: 16px;
}

/* Classic Button Style */
.btn-classic {
    padding: 4px 16px;
    background: var(--sap-light-gray);
    border: 2px outset var(--window-border);
    cursor: pointer;
    font-size: 12px;
    font-family: var(--font-main);
}

.btn-classic:active {
    border: 2px inset var(--sap-dark-gray);
}

.btn-classic:hover {
    background: #f0f0f0;
}

.btn-classic:disabled {
    color: var(--sap-dark-gray);
    cursor: not-allowed;
}

/* Classic Input Style */
.input-classic {
    height: 22px;
    border: 2px inset var(--sap-dark-gray);
    padding: 2px 4px;
    font-size: 12px;
    font-family: var(--font-main);
    background: white;
}

.input-classic:focus {
    outline: none;
    background: #ffffcc;
}

.input-classic:disabled {
    background: var(--sap-light-gray);
    color: var(--sap-dark-gray);
}

/* Required Field Marker */
.required::after {
    content: " *";
    color: var(--sap-red);
}
