﻿/*
 * This file is part of the GiDiNet website (www.gidinet.com).
 * Public availability does not imply an open-source license.
 * All rights reserved. Copying, modification or reuse is prohibited
 * without prior written permission.
 */

.tableBox {
  width: auto;
  margin: 0 auto;
  background-color: #f7f7f7;
  border-spacing: 0;
  border-collapse: collapse;
  border: 1px solid #DCDCDC;
}

.tableBox td {
  padding: 5px;
  text-align: left;
}

.tableBox th {
  padding: 5px;
  text-align: center;
  background-color: #e5e5e5;
  font-weight:bold;
  font-family:Tahoma;
  font-size:12px;
}

.tableBox.noGrid td,
.tableBox.noGrid th {
  border: none;
}

.tableBox.hGrid td,
.tableBox.hGrid th {
  border: none;
  border-top: 1px solid #DCDCDC;
}

.tableBox.hGrid tr:first-child td,
.tableBox.hGrid tr:first-child th {
  border-top: none;
}

.tableBox.fullGrid td,
.tableBox.fullGrid th {
  border: 1px solid #DCDCDC;
}

.centeredTable {
    margin-left: auto;
    margin-right: auto;
    display: table;
}

.tableW500 { width: 500px; }
.tableW600 { width: 600px; }
.tableW80p { width: 80%; }
.tableAuto { width: auto; }

.mt20 {
  margin-top: 20px;
}

.fit-box-wrapper {
    display: block;
    width: fit-content;
    height: fit-content;
    position: relative;
    padding: 20px;
    box-sizing: border-box;
}

.centeredBox {
    margin-left: auto;
    margin-right: auto;
}

.center {
    text-align: center;
}

.documentTitleWrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.feedback-inline-button {
    font-size: 13px;
    padding: 4px 10px;
    text-decoration: none;
    border-radius: 4px;
    background-color: #426184;
    color: white;
    transition: background-color 0.2s;
}

    .feedback-inline-button:hover {
        background-color: #2e4865;
    }

.feedback-highlight-beta {
    background-color: #fff3cd;
    color: #7c5a00 !important;
}

.beta-badge {
    background-color: #ff6600;
    color: #fff;
    font-weight: bold;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    margin-left: 5px;
}

.bulk-sticky-toolbar {
    position: absolute;
    top: 500px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 2000;
}

    .bulk-sticky-toolbar a {
        background-color: #426184;
        color: #fff;
        text-decoration: none;
        padding: 6px 12px;
        border-radius: 4px;
        font-size: 13px;
        text-align: center;
        transition: background-color 0.2s;
    }

        .bulk-sticky-toolbar a:hover {
            background-color: #2e4865;
        }
.bulk-operations-box {
    position: absolute;
    top: 500px;
    right: 20px;
    width: 220px;
    background: #ffffff;
    border: 1px solid #DCDCDC;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    font-family: Arial, sans-serif;
    z-index: 900;
    transition: height 0.2s ease, width 0.2s ease;
}

    .bulk-operations-box.minimized .bulk-operations-body {
        display: none;
    }

.bulk-operations-header {
    background-color: #426184;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    padding: 6px 8px;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .bulk-operations-header .title {
        flex-grow: 1;
    }

.bulk-operations-controls a {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    text-decoration: none;
    color: #fff;
}

    .bulk-operations-controls a:hover {
        background-color: rgba(255, 255, 255, 0.15);
        color: #f7c600;
    }

.bulk-operations-controls svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.bulk-operations-body {
    display: flex;
    flex-direction: column;
    padding: 10px;
    gap: 8px;
}

.bulk-action {
    display: block;
    text-align: center;
    background-color: #426184;
    color: #fff;
    text-decoration: none;
    padding: 6px 8px;
    border-radius: 4px;
    font-size: 13px;
    transition: background-color 0.2s;
}

    .bulk-action:hover {
        background-color: #2e4865;
    }

.bulk-action-beta {
    display: block;
    text-align: center;
    text-decoration: none;
    padding: 6px 8px;
    border-radius: 4px;
    font-size: 13px;
    transition: background-color 0.2s;
    background-color: #ff6600;
    color: #fff;
    font-weight: bold;
}

    .bulk-action-beta:hover {
        background-color: #e55b00;
    }


.bulk-operations-body {
    display: flex;
    flex-direction: column;
    padding: 10px;
    gap: 8px;
}

    .bulk-operations-body .bulk-action {
        display: block;
        text-align: center;
        background-color: #426184;
        color: #fff;
        text-decoration: none;
        padding: 6px 8px;
        border-radius: 4px;
        font-size: 13px;
        transition: background-color 0.2s;
    }

        .bulk-operations-body .bulk-action:hover {
            background-color: #2e4865;
        }

.gdncolor {
    color: #ff6600;
}

.gdnbgcolor {
    background-color: #ff6600;
}