body {
    font-family: system-ui, Arial, sans-serif;
    max-width: 720px;
    margin: 40px auto;
    padding: 0 16px;
    background: #f7f7f7;
}

.card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 24px;
}

label {
    display: block;
    margin-top: 14px;
    font-weight: 600;
}

input:not([type="checkbox"]), textarea {
    width: 100%;
    padding: 10px;
    margin-top: 6px;
    border: 1px solid #bbb;
    border-radius: 8px;
    box-sizing: border-box;
}

button {
    margin-top: 18px;
    padding: 10px 16px;
    border: 0;
    border-radius: 8px;
    background: #111827;
    color: #fff;
    cursor: pointer;
}

.muted {
    color: #64748b;
}

.error {
    color: #b91c1c;
    margin-bottom: 12px;
}

.secret {
    font-family: monospace;
    font-size: 1.2rem;
    background: #111827;
    color: #fff;
    padding: 16px;
    border-radius: 8px;
    word-break: break-all;
}

.blurred {
    filter: blur(4px);
    pointer-events: none;
    user-select: none;
}

.success {
    background: #ecfdf5;
    border: 1px solid #10b981;
    padding: 14px;
    border-radius: 8px;
    margin-top: 20px;
    word-break: break-all;
}


.instructions {
    background: #eff6ff;
    border: 1px solid #93c5fd;
    border-left: 5px solid #2563eb;
    padding: 14px;
    border-radius: 8px;
    margin-bottom: 20px;
    color: #1e3a8a;
}

.instructions h3 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 1rem;
}

.instructions ul {
    margin: 0;
    padding-left: 18px;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: left;
    gap: 20px;
    margin-bottom: 20px;
}

.logo-container img {
    max-width: 250px;
    max-height: 80px;
    width: auto;
    height: auto;
}

.install-button {
    display: block;
    margin: 30px auto 0;
    padding: 14px 40px;
    background: #031D45;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;

    box-shadow:
        0 4px 8px rgba(0,0,0,0.15),
        0 2px 0 rgba(0,0,0,0.20);

    transition: all 0.15s ease;
}

.install-button:hover {
    background: #031D45;
    transform: translateY(-1px);
}

.install-button:active {
    transform: translateY(2px);
    box-shadow:
        0 2px 4px rgba(0,0,0,0.15);
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.admin-btn {
    background: #374151;
    color: white;
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
}

.admin-btn:hover {
    background: #1f2937;
}

.header-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 5px;
    font-weight: 600;
}

.form-row select {
    flex: 1;
    padding: 10px;
    border: 1px solid #bbb;
    border-radius: 8px;
    box-sizing: border-box;
}

.form-row {
    display: flex;
    margin-bottom: 12px;
}

.form-row label {
    width: 180px;
    font-weight: 600;
    flex-shrink: 0;
}

.form-row input,
.form-row select {
    flex: 1;
    min-width: 0;
}

.logo-separator {
    width: 2px;
    height: 60px;
    background: linear-gradient(
        to bottom,
        transparent,
        #cbd5e1,
        transparent
    );
}

table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

th, td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
    text-align: left;
}

th {
    background: #f1f5f9;
}

.error-box {
    background: #fef2f2;
    border: 2px solid #dc2626;
    border-left: 6px solid #dc2626;
    color: #991b1b;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
    font-weight: 500;
}

.error-box .title {
    font-weight: bold;
    margin-bottom: 6px;
}

.success-box {
    background: #ecfdf5;
    border: 2px solid #10b981;
    border-left: 6px solid #10b981;
    color: #065f46;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0 !important;
    font-weight: 600;
}

.checkbox-label input[type="checkbox"] {
    margin: 0;
}