* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: #f3f4f6;
    color: #1f2937;
    padding-bottom: 20px;
}

.navbar {
    background-color: #1e293b;
    color: #ffffff;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar h1 {
    font-size: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-back {
    background-color: #475569;
    color: white;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.container {
    padding: 10px;
    max-width: 800px;
    margin: 0 auto;
}

.card {
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin-bottom: 12px;
}

.form-group {
    margin-bottom: 12px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 15px;
}

.btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    font-size: 15px;
    cursor: pointer;
}

.btn-primary { background-color: #2563eb; color: white; }
.btn-success { background-color: #16a34a; color: white; }
.btn-danger { background-color: #dc2626; color: white; padding: 6px 10px; width: auto; }

.table-responsive {
    width: 100%;
    overflow-x: auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    font-size: 14px;
}

.table th, .table td {
    padding: 8px;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
}

#reader {
    width: 100%;
    max-height: 250px;
    overflow: hidden;
    border-radius: 8px;
    background-color: #000;
}

#reader video {
    object-fit: cover;
}