body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #10131a;
    color: white;
}

.login-body {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-box {
    background: #1b2130;
    padding: 40px;
    border-radius: 16px;
    width: 320px;
    text-align: center;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

input, select, button {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    border-radius: 8px;
    border: none;
    box-sizing: border-box;
}

button {
    background: #ff7a00;
    color: white;
    font-weight: bold;
    cursor: pointer;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #171b25;
    padding: 15px 25px;
}

a {
    color: #ffb266;
}

.admin-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 25px;
}

.panel {
    background: #1b2130;
    padding: 25px;
    border-radius: 14px;
    margin: 25px;
}

.item {
    background: #252c3d;
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 10px;
}

.check-item {
    display: block;
    background: #252c3d;
    padding: 12px;
    margin-bottom: 8px;
    border-radius: 8px;
}

.visor-body {
    overflow: hidden;
}

.visor-header {
    height: 50px;
}

.camera-grid {
    height: calc(100vh - 80px);
    padding: 10px;
    display: grid;
    gap: 10px;
    box-sizing: border-box;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
}

.grid-6 {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
}

.grid-8 {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
}

.camera-card {
    background: black;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    border: 1px solid #333;
}

.camera-title {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.65);
    padding: 6px 10px;
    font-size: 14px;
    z-index: 2;
}

iframe {
    width: 100%;
    height: 100%;
    border: none;
}