body		{ background: #FFFFFF; 
		    font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px;
		}
table		{ background: #FFFFFF; 
		    font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px;
		}
input 		{ font-family: Verdana, Arial, Helvetica, sans-serif;
    		    font-size: 12px; background: #ffffff;
        	    BORDER-TOP-COLOR: #000000;
        	    BORDER-LEFT-COLOR: #000000;
        	    BORDER-RIGHT-COLOR: #000000;
        	    BORDER-BOTTOM-COLOR: #000000;
        	    BORDER-TOP-WIDTH: 1px;
        	    BORDER-LEFT-WIDTH: 1px;
        	    BORDER-BOTTOM-WIDTH: 1px;
        	    BORDER-RIGHT-WIDTH: 1px; }
select 		{ font-family: Verdana, Arial, Helvetica, sans-serif;
    		    font-size: 12px; background: #ffffff;
        	    BORDER-TOP-COLOR: #000000;
        	    BORDER-LEFT-COLOR: #000000;
        	    BORDER-RIGHT-COLOR: #000000;
        	    BORDER-BOTTOM-COLOR: #000000;
        	    BORDER-TOP-WIDTH: 1px;
        	    BORDER-LEFT-WIDTH: 1px;
        	    BORDER-BOTTOM-WIDTH: 1px;
        	    BORDER-RIGHT-WIDTH: 1px; }
textarea 	{ font-family: Courier, Verdana, Arial, Helvetica, sans-serif;
    		    font-size: 12px; background: #ffffff;
                    BORDER-TOP-COLOR: #000000;
                    BORDER-LEFT-COLOR: #000000;
                    BORDER-RIGHT-COLOR: #000000;
                    BORDER-BOTTOM-COLOR: #000000;
                    BORDER-TOP-WIDTH: 1px;
                    BORDER-LEFT-WIDTH: 1px;
                    BORDER-BOTTOM-WIDTH: 1px;
                    BORDER-RIGHT-WIDTH: 1px; }
h1		{ font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif; font-size: 32px; color: #2c3e50; }
h2		{ font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif; font-size: 22px; }
h3		{ font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif; font-size: 18px; }
small		{ font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; }
td.zaloguj 	{  }
td.nag 		{ font-family: Verdana, Arial, Helvetica, sans-serif; background: #3b97d3; color: #FFFFFF; 
		    font-size: 12px; font-weight: normal; }
td.firma 	{ color: #000000; font-size: 12px; font-weight: bold; }
td 		{ color: #000000; }

tr.ctr1 	{ background: #EEEEEE; }
tr.ctr2 	{ background: #DDDDDD; }
tr.ctr_infra_zazn       { background: #ffff00; }
tr.ctr_infra_wyl        { background: #999999; }
tr.ctr_user_zalega      { background: #ffff00; }
tr.ctr_user_zazn        { background: #999999; }

font.warn 	{ color: #3b97d3; font-weight: bold; }
font.info 	{ color: #3b97d3; font-weight: normal; }
font.firma 	{ font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif; color: #3b97d3;
		    font-size: 20px; font-weight: normal; }
span.nag 	{ margin-left: 5px; } 
span.witaj 	{ font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
		    font-size: 20px; font-weight: normal; }
A:link 		{ color: black; text-decoration: underline; }
A:visited 	{ color: black; text-decoration: underline; }
A:active 	{ color: #3b97d3; text-decoration: none; }
A:hover 	{ color: #3b97d3; text-decoration: none; }
 .login-container {
        background-color: #fff;
        padding: 40px 50px;
        border-radius: 20px;
        box-shadow: 0 8px 25px rgba(0,0,0,0.2);
        max-width: 400px;
        width: 90%;
        text-align: center;
        animation: fadeIn 0.8s ease-in-out;
    }

    h1 {
        color: #4e73df;
        margin-bottom: 15px;
    }

    .login-container p {
        color: #666;
        font-size: 14px;
        margin-bottom: 25px;
    }

    .login-container input[type="text"],
    .login-container input[type="password"] {
        width: 100%;
        padding: 12px;
        margin: 8px 0 20px 0;
        border: 1px solid #ccc;
        border-radius: 10px;
        font-size: 14px;
        transition: all 0.3s ease;
    }

    .login-container input[type="text"]:focus,
    .login-container input[type="password"]:focus {
        border-color: #4e73df;
        box-shadow: 0 0 8px rgba(78,115,223,0.3);
        outline: none;
    }

    .login-container input[type="submit"] {
        background-color: #4e73df;
        color: #fff;
        border: none;
        padding: 12px 20px;
        border-radius: 10px;
        cursor: pointer;
        font-size: 16px;
        transition: 0.3s ease;
    }

    .login-container input[type="submit"]:hover {
        background-color: #2e59d9;
        transform: translateY(-2px);
    }

    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(20px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .nice-select {
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
      
        width: 100%;
        max-width: 450px;
        padding: 10px 40px 10px 15px;
        font-size: 16px;
        font-family: "Segoe UI", Arial, sans-serif;
        color: #333;
        background-color: #fff;
      
        border: 1px solid #ccc;
        border-radius: 12px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
      
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23666' stroke-width='2' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 15px center;
        background-size: 12px;
      
        cursor: pointer;
        transition: all 0.2s ease;
        margin-top:50px;
      }
      
      .nice-select:hover {
        border-color: #888;
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
      }
      
      .nice-select:focus {
        outline: none;
        border-color: #4a90e2;
        box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.25);
      }
      
      .nice-select option {
        color: #333;
      }
      .client-table {
        width: 100%;
        max-width: 800px;
        border-collapse: collapse;
        margin: 25px auto;
        font-family: "Segoe UI", Arial, sans-serif;
        background: #fff;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
      }
      
      /* główna komórka */
      .client-table td.nag {
        background: #fafafa;
        padding: 20px;
        border-left: 5px solid #3ca6e7; /* czerwony pasek ostrzeżenia */
        color: #333;
        line-height: 1.6;
      }
      
      /* link "Uwaga!" */
      .client-table a font.warn {
        color: #e74c3c;
        font-weight: 600;
        font-size: 16px;
        text-decoration: none;
        transition: color 0.2s ease;
        margin-bottom:20px;
        display: inline-block;
      }
      
      .client-table a font.warn u {
        text-decoration: none;
      }
      
      .client-table a:hover font.warn {
        color: #c0392b;
        text-decoration: underline;
     
      }
      
      *{
        box-sizing: border-box;
      }
      /* ogólny tekst */
      .client-table b {
        color: #2c3e50;
      }
      
      /* saldo — rozróżnienie kolorem */
      .client-table b:contains("niedopłata"),
      .client-table b:contains("-") {
        color: #e74c3c;
        font-weight: bold;
      }
      
      .client-table b:contains("nadpłata"),
      .client-table b:contains("+") {
        color: #27ae60;
        font-weight: bold;
      }
      
      /* wygląd wewnętrznej tabeli */
      .client-table table {
        width: 100%;
        border-collapse: collapse;
        background: transparent;
      }
      .hello {
        display: block;
        max-width: 800px;
        margin: 25px auto;
        padding: 15px 20px;
        background: linear-gradient(135deg, #f9fafc 0%, #eef2f7 100%);
        border-left: 5px solid #4a90e2;
        border-radius: 10px;
        font-family: "Segoe UI", Arial, sans-serif;
        font-size: 15px;
        color: #333;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
        line-height: 1.6;
      }
      
      .hello .info {
        color: #2c3e50;
        font-weight: 600;
        background: #e8f0fe;
        padding: 2px 6px;
        border-radius: 6px;
      }
      
      .hello b {
        color: #4a90e2;
      }
      
      .hello:hover {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        transform: translateY(-1px);
        transition: all 0.2s ease;
      }
      .main-table, .welcome-table, .firma-table, .device-table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
    font-family: Arial, sans-serif;
    font-size: 14px;
}

.device-table th {
    background: #1f2937;
    color: white;
    text-align: left;
    padding: 8px;
}

.device-table td, .firma-table td {
    border: 1px solid #ddd;
    padding: 6px 10px;
}

.device-table tr:nth-child(even) {
    background-color: #f9fafb;
}

.device-table tr:hover {
    background-color: #eef2ff;
    transition: background 0.3s;
}

.firma-header {
    text-align: center;
    font-weight: bold;
    background: #f3f4f6;
    border-bottom: 2px solid #ccc;
}

.label {
    font-weight: bold;
    color: #374151;
    width: 30%;
}

.news-section {
    background: #f9fafb;
    padding: 10px;
    border-radius: 10px;
}

.news-item {
    border-bottom: 1px solid #ddd;
    padding: 5px 0;
}

.alert-link {
    color: #dc2626;
    font-weight: bold;
}

.firma-name {
    font-size: 1.3em;
    font-weight: bold;
    color: #111827;
}

.detail td {
    background-color: #f3f4f6;
}
