* {
  box-sizing: border-box;
}

body {
  font-size: 12px;
  font-family: Verdana, Arial, sans-serif;
  margin: 0;
  padding: 0;
  color: #333;
  background-color: #f9f9f9;
}

.login-page{
  padding: 10px;
  border-radius: 4px;
  background-color: #fff;
}

a.link {
  text-decoration: none;
  color: #1e5d6a;
  display: inline-block;
  border-bottom: 1px dotted transparent;
  transition: all 0.3s ease;
}

a.link:hover {
  border-bottom-color: #1e5d6a;
}

.button {
  display: inline-block;
  width: 100%;
  max-width: 150px;
  padding: 10px 15px;
  background: #fff;
  border-radius: 4px;
  margin: 4px;
  box-shadow: 2px 2px 4px rgba(0,0,0, 0.25);
  color: #888;
  text-decoration: none;
  font-size: 16px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.button:hover {
  background: #ddd;
  color: #666;
  box-shadow: 1px 1px 3px rgba(0,0,0, 0.3);
}

.button i {
  float: left;
}

.list-controls button,
.table-size-button{
  padding: 5px 15px;
  border: 0px;
  border-radius: 4px;
  background-color: #fff;
  color: #000;
  transition: all 0.3s ease;
  margin: 3px;
  box-shadow: 2px 2px 4px rgba(0,0,0, 0.25);
  cursor: pointer;
}
.list-controls button{
  margin: 0px;
}
.list-controls button:hover,
.table-size-button:hover{
  background: #ddd;
  color: #666;
  box-shadow: 1px 1px 3px rgba(0,0,0, 0.3);
}

table.list {
  border: 0px;
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

table.list > tbody > tr > td {
  border: 0px;
  background: #fff;
  font-size: 12px;
  padding: 8px;
}

table.list > tbody.row:nth-child(2n) > tr > td {
  background: #eee;
}

table.list > tbody.row:hover > tr > td {
  background: #e6f2f5;
}

button.action-button,
.small-button {
  display: inline-block;
  padding: 0px;
  background: #ddd;
  color: #333;
  margin: 1px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 14px;
  font-family: Verdana;
  line-height: 20px;
  width: 30px;
  height: 20px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}

button.action-button:hover,
.small-button:hover {
  background: #333;
  color: #fff;
}

button.action-button[state="loading"] {
  background: #ddd !important;
  color: #333 !important;
}

button.action-button[state="loading"]:before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  background: #ff9100;
  color: #fff;
  content: "";
  font-family: FontAwesome;
  display: flex;
  align-items: center;
  justify-content: center;
}

button.action-button[state="loading"]:before {
  opacity: 1;
  content: "\f110";
}

button.action-button[state="success"] {
  background: #080;
  color: #fff;
}

button.action-button[state="error"] {
  background: #800;
  color: #fff;
}

table {
  width: 100%;
}

.list-controls{
  display: inline-flex;
  border: 1px solid #ccc;
  background-color: #eee;
  border-radius: 4px;
  position: relative;
  padding: 2px;
}

.list-controls input{
  padding: 5px;
  border: 0px;
  background: transparent;
  color: #333;
  font-size: 15px;
  font-family: Verdana;
  outline: none;
}

.dates span {
  display: inline-block;
  width: 25px;
  text-align: center;
  background: #fff;
  border: 1px solid #ddd;
  line-height: 18px;
  font-family: Verdana;
  font-size: 14px;
  cursor: help;
}

.main-container {
  width: 100%;
  font-size: 12px;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  margin: 0 auto;
  max-width: 1200px;
}

.sidebar {
  position: sticky;
  top: 0px;
  left: 0px;
  width: 100%;
  text-align: center;
  vertical-align: top;
  font-family: verdana;
  padding: 10px;
  background-color: #eee;
  border-right: 1px solid #eee;
  display: flex;
}

.app-container {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background-color: #eee;
}

.app-content {
  flex-grow: 1;
  overflow: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.content {
  text-align: left;
  vertical-align: top;
  font-family: verdana;
  padding: 20px;
}

.logo {
  width: 70%;
  max-width: 200px;
  margin: 0px;
  height: 50px;
  background: url('https://www.siradje.pl/theme/siradje/content/hosting/images/hosting.png') center no-repeat;
  background-size: contain;
}

.title {
  text-align: left;
  font-size: 16px;
  text-transform: uppercase;
  color: #333;
  padding: 5px;
  margin-bottom: 15px;
}

.title-line {
  height: 2px;
  background: #333;
  margin-top: 5px;
}

.header-cell {
  text-align: left;
  background: #333;
  color: #fff;
  padding: 10px;
  font-weight: bold;
}

.header-cell-right {
  text-align: right;
  background: #333;
  color: #fff;
  padding: 10px;
  font-weight: bold;
}

.form-container {
  font-size: 12px;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  border-radius: 4px;
  border: 1px solid #ddd;
}

.form-label {
  text-align: right;
  padding: 8px;
  width: 30%;
}

.form-field {
  text-align: left;
  padding: 8px;
}

.form-input {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: Verdana, Arial, sans-serif;
  font-size: 12px;
}

.form-input:focus {
  border-color: #1e5d6a;
  outline: none;
  box-shadow: 0 0 3px rgba(30, 93, 106, 0.3);
}

.form-submit {
  text-align: center;
  padding: 15px 0;
}

.form-submit input[type="submit"] {
  padding: 8px 20px;
  background-color: #1e5d6a;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s ease;
}

.form-submit input[type="submit"]:hover {
  background-color: #174752;
}

.email-tytul { 
  background-color: #4d3449;
  text-align: center;
  font-size: 16px;
  color: #ffffff;
  font-weight: bold;
  padding: 10px;
}

.email-opis { 
  background-color: #ededed;
  text-align: left;
  font-size: 15px;
  padding: 10px;
}

.email-pole { 
  background-color: #eeeeee;
  text-align: center;
  font-size: 12px;
}

.email-obrazek { 
  background-image: url(https://www.siradje.pl/theme/siradje/content/hosting/images/hosting.png);   
}

.email-przyciski { 
  background-color: #cccccc;
  text-align: center;
  font-size: 16px;
  font-weight: bold;
}

.pagination {
  display: flex;
  justify-content: center;
  margin: 20px 0;
  flex-wrap: wrap;
}

.pagination-item {
  display: inline-block;
  padding: 5px 10px;
  margin: 0 3px;
  border: 1px solid #ddd;
  background-color: #fff;
  color: #333;
  text-decoration: none;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.pagination-item:hover {
  background-color: #eee;
  border-color: #ccc;
}

.pagination-item.active {
  background-color: #1e5d6a;
  color: #fff;
  border-color: #1e5d6a;
}

.pagination-item.disabled {
  color: #ccc;
  cursor: not-allowed;
  background-color: #f9f9f9;
}

.search-form {
  margin-bottom: 20px;
  display: flex;
  justify-content: flex-end;
}

.search-form input[type="text"] {
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px 0 0 4px;
  width: 300px;
}

.search-form input[type="submit"] {
  padding: 8px 15px;
  background-color: #1e5d6a;
  color: white;
  border: none;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
}

.search-form input[type="submit"]:hover {
  background-color: #174752;
}

.alert {
  padding: 10px 15px;
  margin-bottom: 15px;
  border-radius: 4px;
}

.alert-success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.alert-danger {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.alert-warning {
  background-color: #fff3cd;
  color: #856404;
  border: 1px solid #ffeeba;
}

.alert-info {
  background-color: #d1ecf1;
  color: #0c5460;
  border: 1px solid #bee5eb;
}

@media screen and (max-width: 768px) {
  .main-container {
    display: flex;
    flex-direction: column;
  }
  
  .sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #eee;
  }
  
  .form-container {
    width: 100%;
  }
  
  .form-label {
    width: 40%;
  }
  
  .search-form input[type="text"] {
    width: 200px;
  }
}
.text-right {
  text-align: right;
}
.money {
  text-align: right;
  white-space: nowrap;
  font-family: monospace;
}
.tooltip{
  display: block;
  position: fixed;
  top: calc(var(--mouse-y) + 10px);
  left: calc(var(--mouse-x) + 10px);
  max-width: 300px;
  padding: 10px 15px;
  white-space: pre-wrap;
  line-height: 1.2;
  border: 1px solid #ccc;
  z-index: 1000000000;
  opacity: 0;
  max-height: 0px;
  overflow: hidden;
  background: #fff;
  transition: all 0.3s ease, top 0.01s linear, left 0.01s linear;
  box-shadow: 2px 2px 4px rgba(0,0,0, 0.25);
  border-radius: 4px;
  margin-right: 15px;

}
.tooltip.visible{
  max-height: 200px;
  opacity: 1;
}
.day{
  border: 1px solid rgba(0,0,0, 0.25);
  background: #ddd;
  line-height: 1;
  border-radius: 4px;
  padding: 2px 5px;
  display: inline-block;
  margin: 1px;
  opacity: 0.25;
  align-self: center;
  font-size: 0.8rem;
}
.day.active{
  opacity: 1;
  background: #cfc;
  
}