* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: Arial, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
    background: #101114;
    color: #f2f2f2;
}
a { color: #7ab7ff; }
.card, .container {
    max-width: 1000px;
    margin: 60px auto;
    padding: 30px;
    background: #1b1d23;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.card { max-width: 460px; text-align: center; }
.topbar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}
input, select, button {
    padding: 12px 14px;
    margin: 8px 4px;
    border-radius: 8px;
    border: none;
    font-size: 16px;
}
input, select {
    background: #2a2d36;
    color: #fff;
    min-width: 260px;
}
button {
    background: #3d7cff;
    color: #fff;
    cursor: pointer;
}
button:hover { background: #2f64cc; }
.room-item, .owner-panel {
    background: #252832;
    padding: 16px;
    border-radius: 10px;
    margin: 12px 0;
}
video {
    max-width: 100%;
    background: #000;
    border-radius: 12px;
    margin: 20px 0;
}
.tip { color: #b8d7ff; }
.warning { color: #ffb86b; }
.small-text { color: #aaa; font-size: 13px; }
.logout-btn{
    display: inline-block;
    background:#dc3545;
    color:white;
    padding:10px 18px;
    border-radius:8px;
    text-decoration:none;
    white-space: nowrap;
}
.logout-btn:hover{ background:#bb2d3b; }

.upload-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,.72);
    z-index: 9999;
    padding: 20px;
}
.upload-modal.show {
    display: flex;
}
.upload-modal-box {
    width: min(520px, 100%);
    background: #1b1d23;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 18px 60px rgba(0,0,0,.55);
    border: 1px solid rgba(255,255,255,.08);
}
.upload-modal-box h2 {
    margin-top: 0;
}
.progress-shell {
    width: 100%;
    height: 18px;
    background: #2a2d36;
    border-radius: 999px;
    overflow: hidden;
    margin: 18px 0 10px;
}
.progress-bar {
    height: 100%;
    width: 0%;
    background: #3d7cff;
    border-radius: 999px;
    transition: width .15s linear;
}
.progress-info {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    color: #b8d7ff;
    font-size: 14px;
}
.modal-close-btn {
    margin-top: 22px;
}
button:disabled {
    opacity: .55;
    cursor: not-allowed;
}
