/* Extracted from standorte.html */
.page-standorte .bar {
    justify-content: center;
}

.page-standorte .card h3 {
    margin: 0 0 6px;
}

.page-standorte .table-container {
    overflow: auto;
    max-height: 50vh;
    border: 1px solid var(--line, #202735);
    border-radius: 8px;
}

.page-standorte .bottom-row {
    justify-content: center;
}

.page-standorte .menu-container {
    position: relative;
}

/* Modern Table Layout */
.page-standorte #tbl {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    color: var(--text);
    font-size: 0.9rem;
}

.page-standorte #tbl thead th {
    background-color: var(--accent);
    color: white;
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.page-standorte #tbl thead th:first-child {
    border-top-left-radius: 8px;
}

.page-standorte #tbl thead th:last-child {
    border-top-right-radius: 8px;
}

.page-standorte #tbl tbody tr {
    background-color: var(--bg);
    transition: background-color 0.2s ease-in-out;
}

.page-standorte #tbl tbody tr:nth-child(even) {
    background-color: var(--bg-alt);
}

.page-standorte #tbl tbody tr:hover {
    background-color: var(--accent-light);
}

.page-standorte #tbl td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--line);
}

/* Modern Button Layout */
.page-standorte button, .page-standorte #add {
    background-color: var(--accent);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    letter-spacing: 0.5px;
}

.page-standorte button:hover, .page-standorte #add:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0,0,0,0.15);
}

.page-standorte button:disabled {
    background-color: var(--line);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.page-standorte button[data-act="delete"] {
    background-color: #e74c3c;
}

.page-standorte button[data-act="delete"]:hover {
    background-color: #c0392b;
}

/* Modern Message Box */
.page-standorte #msg {
    margin-left: 15px;
    padding: 10px 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    background-color: var(--accent-light);
    color: var(--accent);
}

/* Form Layout Improvements */
.page-standorte .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.page-standorte .grid > div {
    display: flex;
    flex-direction: column;
}

.page-standorte .grid label {
    margin-bottom: 6px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-light);
}

.page-standorte .grid input,
.page-standorte .grid select {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #000;
    background-color: var(--bg-alt);
    color: var(--text);
    font-size: 1rem;
}

.page-standorte .grid input:focus,
.page-standorte .grid select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px var(--accent-light);
}

/* Add margin below timezone selector */
.page-standorte #tz-container {
    margin-bottom: 12px;
}