@font-face {
    font-family: 'Open Sans PX';
    src: url('open-sans-px.ttf') format('truetype');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Open Sans PX';
    color: rgba(255, 255, 255, 0.39);
}

body {
    background-color: rgb(13, 13, 13);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.box {
    background-color: rgb(20, 20, 20);
    padding: 2rem;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    min-width: 400px;
}

.box:has(#panel:not(.hidden)) {
    width: 400px;
    height: 525px;
}

.name {
    font-size: 2rem;
    text-align: center;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

input {
    background-color: rgb(25, 25, 25);
    border: none;
    padding: 0.8rem;
    border-radius: 5px;
    font-size: 1rem;
    outline: none;
    color: rgba(255, 255, 255, 0.8);
}

input::placeholder {
    color: rgba(255, 255, 255, 0.39);
}

input:focus {
    background-color: rgb(30, 30, 30);
}

button {
    background-color: rgb(25, 25, 25);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-size: 1.2rem;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

button:hover {
    background-color: rgb(30, 30, 30);
}

.error {
    color: rgba(255, 100, 100, 0.8);
    text-align: center;
    font-size: 0.9rem;
}

.cf-turnstile {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.hidden {
    display: none !important;
}

.info-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem;
    background-color: rgb(25, 25, 25);
    border-radius: 5px;
}

.label {
    font-weight: bold;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.value {
    text-align: right;
    word-break: break-all;
}

#panel-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

#panel {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.button-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    margin-top: 0;
}

@media (max-width: 768px) {
    .box {
        min-width: 90vw;
        max-width: 500px;
        padding: 1.5rem;
    }

    .box:has(#panel:not(.hidden)) {
        width: 90vw;
        height: auto;
        max-height: 90vh;
        overflow-y: auto;
    }

    .name {
        font-size: 1.5rem;
    }

    button {
        font-size: 1rem;
        padding: 0.7rem 1.5rem;
    }

    input {
        font-size: 0.95rem;
        padding: 0.7rem;
    }
}

@media (max-width: 480px) {
    .box {
        min-width: 95vw;
        padding: 1rem;
    }

    .name {
        font-size: 1.3rem;
    }

    button {
        font-size: 0.95rem;
        padding: 0.6rem 1rem;
    }

    .info-item {
        flex-direction: column;
        gap: 0.3rem;
        align-items: flex-start;
    }

    .value {
        text-align: left;
    }
}
