* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-container {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 420px;
    padding: 40px;
}

.auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-header h1 {
    color: #333;
    font-size: 24px;
    margin-bottom: 8px;
}

.auth-header p {
    color: #666;
    font-size: 14px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
}

.form-group input[type="file"] {
    padding: 10px;
    border: 2px dashed #e0e0e0;
    background: #fafafa;
}

.file-upload-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.file-upload-item {
    border: 2px dashed #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    background: #fafafa;
    transition: all 0.3s;
}

.file-upload-item:hover {
    border-color: #667eea;
    background: #f0f4ff;
}

.file-upload-item.has-file {
    border-style: solid;
    border-color: #667eea;
    background: #f0f4ff;
}

.file-upload-item input[type="file"] {
    display: none;
}

.file-upload-item .upload-icon {
    font-size: 32px;
    margin-bottom: 8px;
    display: block;
}

.file-upload-item .upload-text {
    color: #666;
    font-size: 13px;
}

.file-upload-item .file-name {
    color: #667eea;
    font-size: 12px;
    margin-top: 8px;
    word-break: break-all;
}

.btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    background: #f0f0f0;
    color: #333;
}

.btn-secondary:hover {
    background: #e0e0e0;
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
}

.auth-footer a {
    color: #667eea;
    text-decoration: none;
    font-size: 14px;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.error-message {
    background: #fee;
    border: 1px solid #fcc;
    color: #c33;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.success-message {
    background: #efe;
    border: 1px solid #cfc;
    color: #3c3;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.info-section {
    background: #f0f7ff;
    border: 1px solid #d0e0ff;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 24px;
}

.info-section h3 {
    color: #333;
    font-size: 16px;
    margin-bottom: 12px;
}

.info-section p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.reject-reason {
    background: #fff3f3;
    border: 1px solid #ffcccc;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 20px;
}

.reject-reason strong {
    color: #c33;
    display: block;
    margin-bottom: 4px;
}

.reject-reason span {
    color: #666;
    font-size: 14px;
}

.admin-container {
    max-width: 1000px;
    padding: 30px;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.admin-header h1 {
    color: #333;
    font-size: 22px;
}

.logout-btn {
    width: auto;
    padding: 10px 20px;
    font-size: 14px;
}

.audit-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.audit-card {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
}

.audit-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.audit-card-header h3 {
    color: #333;
    font-size: 18px;
}

.audit-card-header .time {
    color: #999;
    font-size: 13px;
}

.audit-card-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

.audit-info-item {
    display: flex;
    flex-direction: column;
}

.audit-info-item label {
    color: #666;
    font-size: 13px;
    margin-bottom: 4px;
}

.audit-info-item span {
    color: #333;
    font-size: 14px;
    font-weight: 500;
}

.audit-id-images {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.audit-id-images img {
    max-width: 300px;
    max-height: 200px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.audit-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.audit-actions textarea {
    flex: 1;
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    resize: vertical;
    min-height: 40px;
}

.btn-approve {
    background: #28a745;
    color: white;
    width: auto;
    padding: 10px 24px;
}

.btn-approve:hover {
    background: #218838;
}

.btn-reject {
    background: #dc3545;
    color: white;
    width: auto;
    padding: 10px 24px;
}

.btn-reject:hover {
    background: #c82333;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.empty-state .icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.top-nav {
    position: fixed;
    top: 0;
    right: 0;
    padding: 16px 24px;
}

.top-nav .user-info {
    color: white;
    font-size: 14px;
}

.top-nav a {
    color: white;
    text-decoration: none;
    margin-left: 16px;
}

.top-nav a:hover {
    text-decoration: underline;
}

.nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.nav-header h1 {
    margin: 0;
}

.nav-actions {
    display: flex;
    gap: 12px;
}

.nav-actions .btn {
    width: auto;
    padding: 10px 20px;
    font-size: 14px;
}
