body {
    font-family: 'Segoe UI', Roboto, sans-serif;
    font-size: 15px;
    background-color: #f9fbfd;
    margin: 0;
    padding: 0 30px 40px;
    color: #333;
}
.header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #2c3e50;
    color: white;
    padding: 16px 24px;
    border-radius: 0 0 8px 8px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.header-bar h2 {
    margin: 0;
    font-size: 22px;
    color: #fff;
}
.logout {
    font-weight: 500;
    color: #ecf0f1;
    text-decoration: none;
}
.logout:hover {
    text-decoration: underline;
}
.section {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 40px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.expandable-input {
    min-width: 400px;
    width: auto;
    max-width: 100%;
}
.h3 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 16px;
    border-bottom: 2px solid #eee;
    padding-bottom: 4px;
}
.control-row{
    display:grid;
    grid-template-columns:auto auto 1fr; /* checkbox | arrow | text */
    column-gap:.5rem;
    align-items:start;
    margin-bottom:.75rem;
  }

.control-text{ white-space:normal; word-break:break-word; }

.control-row input[type="checkbox"] {
    margin-right: 5px;
}

.control-row .copy-button {
    margin-right: 8px;
}

.new-control-row {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.new-control-row input[type="text"] {
    margin-right: 8px;
}

.delete-button {
    background: #ff4d4d;
    border: none;
    color: white;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 3px;
}

.delete-button:hover {
    background: #e60000;
}

table {
    border-collapse: collapse;
    width: 100%;
    font-size: 14px;
    margin-top: 4px;
}
th {
    background: #f1f4f7;
    color: #333;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid #ddd;
}
td, th {
    padding: 10px 12px;
    border: 1px solid #ddd;
    vertical-align: top;
}
tr:nth-child(even) td {
    background-color: #f8f9fa;
}
tr:hover td {
    background-color: #eef2f7;
}
.count-cell {
    text-align: center;
    font-weight: bold;
}
.no-data {
    font-style: italic;
    color: #777;
    text-align: center;
    padding: 15px;
}
.actions {
    white-space: nowrap;
}
form.inline {
    display: inline-block;
    margin: 0 2px 2px 0;
}
button {
    background-color: #3498db;
    border: none;
    color: #fff;
    padding: 6px 14px;
    font-size: 13px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}
button:hover:not([disabled]) {
    background-color: #2980b9;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
button[disabled] {
    background-color: #bdc3c7;
    cursor: not-allowed;
}
.flash-warning {
    background-color: #f8d7da;
    color: #721c24;
    padding: 8px;
    border: 1px solid #f5c6cb;
    margin: 10px 0;
    border-radius: 4px;
}
@media (max-width: 768px) {
    body {
        padding: 20px 10px;
    }
    .header-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}
/* From Uiverse.io by vinodjangid07 */ 
.Btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100px;
  height: 40px;
  border: none;
  padding: 0px 20px;
  background-color: rgb(168, 38, 255);
  color: white;
  font-weight: 500;
  cursor: pointer;
  border-radius: 10px;
  box-shadow: 5px 5px 0px rgb(140, 32, 212);
  transition-duration: .3s;
}

.svg {
  width: 13px;
  position: absolute;
  right: 0;
  margin-right: 20px;
  fill: white;
  transition-duration: .3s;
}

.Btn:hover {
  color: transparent;
}

.Btn:hover svg {
  right: 43%;
  margin: 0;
  padding: 0;
  border: none;
  transition-duration: .3s;
}

.Btn:active {
  transform: translate(3px , 3px);
  transition-duration: .3s;
  box-shadow: 2px 2px 0px rgb(140, 32, 212);
}
