/* ==============================================
   SVXLink Dashboard - Modern CSS
   Version: 2.0
   Date: 2025-11-28
   ============================================== */

/* === CSS VARIABLES (kolory, rozmiary) === */
:root {
    --color-bg-primary: #232d69;
    --color-bg-secondary: #1d2658;
    --color-bg-table-even: #3f4c84;
    --color-bg-table-odd: #37407d;
    --color-bg-header: #3083b8;
    
    --color-text-primary: #ffffff;
    --color-text-secondary: #f3ead3;
    --color-text-accent: yellow;
    
    --color-success: #08dc6e;
    --color-warning: orange;
    --color-danger: #ff6600;
    
    --radius: 10px;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

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

html {
    -webkit-text-size-adjust: none;
    -moz-text-size-adjust: none;
    -ms-text-size-adjust: none;
    text-size-adjust: none;
}

body {
    font: 11pt arial, sans-serif; 
    /* font-family: verdana, arial, sans-serif; */
    font-size 11pt;
    background-color: var(--color-bg-primary);
    color: var(--color-text-primary);
    min-height: 100vh;
}

/* === LAYOUT === */
.main-container {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    border-radius: 15px;
    /* border: 1px solid white; */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.6s ease-in;
    padding: 10px;
    font-size: 14px;
    width:950px;
    margin-top:15px;
    margin-bottom:20px;
    overflow: auto;
    overflow-x: hidden;
    overflow-y: hidden;
}

.container {
    width: 100%;
    max-width: 100%;
    text-align: left;
/*    background: var(--color-bg-primary);*/
/*    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);*/
    /* margin: 0 auto; */
    margin-left: 0px;
    padding: 0;
}

.header {
    background: linear-gradient(135deg, #1d2658 0%, #3f4c84 100%);
    color: var(--color-text-primary);
    font-family: verdana, arial, sans-serif;
    text-align: left;
    border-radius: 12px;
    padding: 10px;
    margin-bottom: 0px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.6s ease-out;
}

.nav {
    float: left;
    margin: 0;
    padding: 3px;
    /*width: 185px;*/
    background: var(--color-bg-primary);
    font-weight: normal;
    min-height: 100%;
}

.content {
    margin: 0;
    /*padding: 1px 5px 5px 5px;*/
    color: var(--color-text-primary);
    /* background: var(--color-bg-primary);*/
    text-align: center;
}

/* Access Denied Section */
.access-denied {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    text-align: center;
}

.access-denied img {
    max-width: 400px;
    opacity: 0.8;
    margin-bottom: 20px;
}

.access-denied-text {
    color: #f3ead3;
    font-size: 16px;
    margin-top: 20px;
}

.content fieldset,
#sysInfo fieldset,
#dtmfPanel fieldset {
    margin-left: auto !important;
    margin-right: auto !important;
    display: block;
}
.footer {
    background: var(--color-bg-header);
    color: var(--color-text-primary);
    font-family: verdana, arial, sans-serif;
    font-size: 9px;
    text-align: center;
    padding: 10px 0;
    border-radius: 0 0 var(--radius);
    clear: both;
}

/* === FIELDSETS === */
fieldset {
    background-color: var(--color-bg-secondary);
/*    border: 2px solid #ccc; */
    border: none;
    border-radius: var(--radius);
    margin: 10px 5px;
    padding: 10px;
    box-shadow: var(--shadow);
}

.fframe .fframe2 {
    /* background-color: var(--color-bg-secondary);*/
    /* border: 2px solid white; */
    border-radius: var(--radius);
    box-shadow: 5px 15px 25px #111;
    margin: 5px;
    padding: 10px;
    font-size: 14px;
}


/* === TABLES === */
table {
    vertical-align: middle;
    text-align: center;
    border-collapse: collapse;
    border-color: #454545;
    border-style: solid;
    border-spacing: 4px;
    border-width: 2px;
    color: var(--color-text-primary);
    /* font-family: "Lucida Console", Monaco, monospace;*/
    font-family:  -apple-system, BlinkMacSystemFont, "Segoe UI",
                 "Lucida Console", "Helvetica Neue", Arial, sans-serif;
    width: 100%;
    white-space: nowrap;
/*    background-color: var(--color-bg-primary);*/
}

table th {
    background: var(--color-bg-header);
    border: 1px solid #454545;
    color: #f8eeec;
    padding: 10px;
    font-weight: bold;
}

table tr:nth-child(even) {
    background: var(--color-bg-table-even);
}

/* table tr:nth-child(odd) {
    background: var(--color-bg-table-odd);
}
*/
table td {
    color: var(--color-text-primary);
    border: 1px solid #454545;
    padding: 8px;
}

/* Tabele bez obramowania */
table.linki {
    border: none;
}

table.linki td {
    border: none;
    font-size: 12px;
    color: white;
    font-weight: bold;
    background-color: #045fb4;
}

/* === BUTTONS === */
.button {
    border: none;
    color: white;
    padding: 8px 12px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    font-weight: bold;
    margin: 4px 2px;
    border-radius: 8px;
    box-shadow: 0 8px 10px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.button { background: #356244; }
.green  { background: #448f47; }
.blue   { background-image: linear-gradient(to bottom, #337ab7 0%, #265a88 100%); }
.red    { background: #9B111E; }
.orange { background: DarkOrange; }
.purple { background: #800080; }
.brown  { background: #c35c2f; }

.button:hover,
.green:hover,
.blue:hover,
.red:hover,
.orange:hover,
.purple:hover,
.brown:hover {
    opacity: .9;
    transform: translateY(-1px);
}

/* === TG BUTTONS (Status section) === */
.monitor_id,
.active_id {
    background: none !important;
    border: none !important;
    font-weight: 600;
    font-size: 8.5pt;
    padding: 1px 4px;
    margin: 1px 2px;
    cursor: pointer;
    outline: none;
    transition: all 0.2s ease;
}

.monitor_id {
    color: yellow !important;
}

.monitor_id:hover {
    background: green !important;
    color: white !important;
}

.active_id {
    color: cyan !important;
}

.active_id:hover {
    background: green !important;
    color: white !important;
}

/* === LINKS === */
a {
    text-decoration: none;
    color: var(--color-text-accent);
    font-weight: normal;
}

a:link,
a:visited {
    color: var(--color-text-accent);
}

a:hover {
    color: orange;
}


span.links a:link,
span.links a:visited {
    color: #ffe63b;
    font-weight: bold;
}

span.links a:hover {
    color: orange;
}

/* === CALLSIGN STYLING === */
.mh_call {
    font-size: 12.5px;
    font-weight: bold;
    color: white;
    vertical-align: middle;
    padding: 1px 8px;
}

/* === FORM INPUTS ===
input[type="text"],
input[type="number"] {
    background-color: white;
    border: 1px solid #ccc;
    width: 90px;
    color: #b5651d;
    font-size: 15px;
    font-weight: bold;
    padding: 4px 12px;
    margin: 4px;
    border-radius: 4px;
    box-sizing: border-box;
}

input[type="submit"],
input[type="button"] {
    cursor: pointer;
}
*/
/* === UTILITY CLASSES === */
.hide {
    display: block;
}

.wrap {
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* === IMAGE & PARENT DIV === */
.parent {
    display: table;
    padding: 5px;
    width: 98.5%;
    margin: 0;
}

.text {
    vertical-align: middle;
    display: table-cell;
    text-align: justify;
}

.parent .img {
    vertical-align: middle;
    display: table-cell;
    padding-right: 5px;
    width: 70px;
}

.img img {
    width: 70px;
    height: 64px;
    vertical-align: middle;
}



/* === HIDE SCROLLBAR === */
.hideScrollbar::-webkit-scrollbar {
    display: none;
}

/* ============================================
   NOWE STYLE DLA INDEX.PHP - DODAJ NA KOŃCU dashboard.css
   ============================================ */

/* === LAYOUT GŁÓWNY === */
.main-layout-table {
    margin-left: 0px;
    padding: 0px;
    border: 0;
    border-collapse: collapse;
/*    background-color: #232d69;*/
}

#main-table .main-table-tr {
    border: none;
    /* background-color: #232d69;*/
}

.left-column {
    width: 240px;
    vertical-align: top;
    height: auto;
    border: 0;
    margin-left: 0px;
    /* background-color: #232d69;*/
}

.right-column {
    vertical-align: top;
    height: auto;
    border: none;
/*    background-color: #232d69;*/
}

.nav-container {
    margin-bottom: 10px;
    margin-top: 10px;
    /* background-color: #232d69;*/
}

.content-center {
    margin-top: 0px;
}


/* === LOADING STATES === */
.loading-text {
    color: #888;
}

.error-text {
    color: red;
    font-weight: bold;
    white-space: nowrap;
}
.iframe-embed {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: calc(100% + 26px);
    height: calc(100% + 26px);
    border: 0;
}

.iframe-embed-wrapper {
    position: relative;
    display: block;
    height: 0;
    padding: 0;
    overflow: hidden;
}
.iframe-embed-responsive-16by9 {
    padding-bottom: 66.25%;
}


/* === RESPONSIVE DESIGN === */
@media (max-width: 900px) {
    .container {
        width: 100%;
        padding: 0 10px;
    }
    
    .nav {
        width: 100%;
        float: none;
        margin-bottom: 20px;
    }
    
    .hide {
        display: none; /* Ukryj na mobile */
    }
    
    table {
        font-size: 11px;
    }
    
    table th,
    table td {
        padding: 5px;
    }
    
    .button {
        padding: 6px 10px;
        font-size: 12px;
    }
}

@media (max-width: 600px) {
    body {
        font-size: 10pt;
    }
    
    .header,
    .footer {
        font-size: 8px;
    }
    
    table {
        font-size: 9px;
    }
    
    .button {
        padding: 4px 8px;
        font-size: 11px;
    }
}
/* === PRINT STYLES === */
@media print {
    .nav,
    .button,
    input {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
/* Responsive adjustments */
@media (max-width: 768px) {
    .left-column {
        display: none;
    }
    
    .main-layout-table {
        width: 100%;
    }
}
.car-symbol {
  font-size: 1.2em;
  vertical-align: top;
}
.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;  /* Preferred icon size */
  display: inline-block;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;

  /* Support for all WebKit browsers. */
  -webkit-font-smoothing: antialiased;
  /* Support for Safari and Chrome. */
  text-rendering: optimizeLegibility;

  /* Support for Firefox. */
  -moz-osx-font-smoothing: grayscale;

  /* Support for IE. */
  font-feature-settings: 'liga';
}
