/* AWS S3 Console Table Styles */
.aws-s3-table-container {
    border-top: 1px solid #eaeded;
    border-bottom: 1px solid #eaeded;
    background-color: #ffffff;
    margin-top: 0.5rem;
    overflow-x: auto;
}
.aws-s3-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.75rem;
    min-width: 600px;
}
.aws-s3-table th {
    padding: 0.5rem 0.75rem !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #545b64 !important;
    border-bottom: 1px solid #eaeded !important;
    border-top: 1px solid #eaeded !important;
    border-right: 1px solid #eaeded !important;
    background-color: #ffffff !important;
    background: #ffffff !important;
    text-transform: none !important;
}
.aws-s3-table th:last-child {
    border-right: none !important;
}
.aws-s3-table td {
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid #eaeded;
    vertical-align: middle;
}
.aws-s3-table tbody tr:hover {
    background-color: #f2f3f3;
}
.aws-s3-link {
    color: #0073bb !important;
    font-weight: 500;
    text-decoration: none;
}
.aws-s3-link:hover {
    text-decoration: underline !important;
    cursor: pointer;
}
.scrollbar-none {
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.scrollbar-none::-webkit-scrollbar {
    display: none;
}

/* ============================================
   Brand Button Styles
   Usage: class="btn-brand"  (medium — default)
          class="btn-brand btn-brand-lg"  (large)
          class="btn-brand btn-brand-sm"  (small)
          class="btn-brand btn-brand-icon" (icon-only)
   ============================================ */

/* Base brand button — Medium (default) */
.btn-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    background-color: var(--btn-bg, var(--brand-primary, #ec7211));
    color: var(--btn-text, #ffffff);
    font-weight: 700;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border: none;
    border-radius: 4px;        /* slightly rounded */
    cursor: pointer;
    padding: 0.375rem 1rem;
    white-space: nowrap;
    outline: none;
    transition: opacity 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.18);
}
.btn-brand svg {
    width: 0.75rem;
    height: 0.75rem;
    flex-shrink: 0;
}
.btn-brand:hover {
    opacity: 0.88;
    box-shadow: 0 2px 6px rgba(0,0,0,0.22);
}
.btn-brand:active {
    opacity: 1;
    transform: scale(0.97);
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.18);
}
.btn-brand:focus-visible {
    box-shadow: 0 0 0 3px var(--brand-primary);
}
.btn-brand:disabled,
.btn-brand[disabled] {
    opacity: 0.45;
    pointer-events: none;
}

/* Large */
.btn-brand-lg {
    padding: 0.5rem 1.5rem;
    font-size: 12px;
}

/* Small */
.btn-brand-sm {
    padding: 0.2rem 0.6rem;
    font-size: 8px;
}

/* Tiny icon-only (square pill, no text) */
.btn-brand-icon {
    padding: 0.35rem;
    font-size: 0;               /* hide any stray text */
    width: 1.75rem;
    height: 1.75rem;
    letter-spacing: 0;
}
.btn-brand-icon svg {
    width: 0.875rem;
    height: 0.875rem;
    flex-shrink: 0;
}

/* Updates Popup */
.updates-popup {
    border-radius: 0;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}
.updates-popup .updates-card {
    border-radius: 0;
}

/* Employee Profile Full-Screen Modal */
.employee-profile-modal-container {
    background: #ffffff;
}

.employee-profile-modal-container :where(.rounded-xl, .rounded-2xl, .rounded-3xl, .rounded-lg, .rounded-md) {
    border-radius: 0 !important;
}

/* QuickLauncher - Global App/Module Launcher */
.quicklauncher-popup {
    border-radius: 0;
}
.quicklauncher-popup input {
    border-radius: 0;
}
.quicklauncher-popup .quicklauncher-app-card {
    border-radius: 0;
}
.quicklauncher-popup .quicklauncher-app-card > div:first-child {
    border-radius: 0;
}

/* RIO - Asset Management Page */
.rio-page :where(.rounded-xl, .rounded-2xl, .rounded-3xl, .rounded-lg, .rounded-md, .rounded-full) {
    border-radius: 0 !important;
}

/* Feedback Reviews Page Styles */
.feedback-reviews-page [class*="rounded"] {
    border-radius: 0 !important;
}

/* SAP Insights Page Styles */
.sap-insights-page [class*="rounded"] {
    border-radius: 0 !important;
}

/* QTE - Quotation Entry Page */
.qte-page [class*="rounded"] {
    border-radius: 0 !important;
}
.qte-page input,
.qte-page select,
.qte-page textarea {
    border-radius: 0 !important;
}
