* {
    box-sizing: border-box;
}

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

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

.login-box {
    width: 350px;
    background: #1c1c1c;
    padding: 35px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid #333;
}

.login-box input {
    width: 100%;
    padding: 13px;
    margin-bottom: 12px;
    background: #111;
    border: 1px solid #444;
    border-radius: 8px;
    color: white;
    font-size: 15px;
}

.login-box button {
    width: 100%;
    padding: 13px;
    border: none;
    border-radius: 8px;
    background: #2563eb;
    color: white;
    font-size: 15px;
    cursor: pointer;
}

.login-box button:hover {
    background: #3474ff;
}

header {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 25px;

    background: #1c1c1c;
    border-bottom: 1px solid #333;
}

header h2 {
    margin: 0;
}

#username {
    color: #aaa;
    font-size: 13px;
}

main {
    padding: 30px;
}

#status {
    text-align: center;
    color: #bbb;
    margin-bottom: 20px;
}

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

    gap: 20px;

    max-width: 1400px;
    margin: auto;
}

.video-container {
    position: relative;

    aspect-ratio: 16 / 9;

    background: #000;

    border-radius: 15px;
    overflow: hidden;
}

.video-container video {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.video-container span {
    position: absolute;

    left: 12px;
    bottom: 12px;

    padding: 7px 12px;

    border-radius: 8px;

    background: rgba(0, 0, 0, 0.7);

    font-size: 14px;
}

.controls {
    display: flex;
    justify-content: center;

    gap: 15px;

    margin-top: 25px;
}

.controls button,
.logout {
    border: none;

    padding: 12px 22px;

    border-radius: 10px;

    background: #333;
    color: white;

    font-size: 15px;

    cursor: pointer;
}

.controls button:hover {
    background: #444;
}

.logout {
    background: #b52b2b;
}

.logout:hover {
    background: #d13434;
}

@media (max-width: 800px) {
    .videos {
        grid-template-columns: 1fr;
    }

    main {
        padding: 15px;
    }
}
