* { box-sizing: border-box; }
    body { 
        font-family: 'Segoe UI', Arial, sans-serif; 
        background: #1a1a2e; color: #eee; 
        margin: 0; padding: 15px; 
    }
    .container { max-width: 700px; margin: auto; }
    h1 { color: #e94560; text-align: center; font-size: 22px; }
    
    .camera-box {
        position: relative;
        background: #000;
        border-radius: 10px;
        overflow: hidden;
        margin-bottom: 15px;
    }
    #camera { width: 100%; display: block; }
    .overlay-info {
        position: absolute;
        bottom: 10px; left: 10px; right: 10px;
        background: rgba(0,0,0,0.6);
        padding: 8px 12px;
        border-radius: 6px;
        font-size: 13px;
        line-height: 1.4;
    }
    .overlay-info .time { color: #e94560; font-weight: bold; font-size: 15px; }
    .overlay-info .loc { color: #4ecca3; font-size: 12px; }
    
    .card {
        background: #16213e;
        padding: 15px;
        border-radius: 10px;
        margin-bottom: 15px;
    }
    .card h3 { margin: 0 0 12px 0; color: #4ecca3; font-size: 15px; }
    
    .form-group { margin-bottom: 10px; }
    label { display: block; font-size: 13px; margin-bottom: 4px; color: #aaa; }
    input, select, textarea {
        width: 100%; padding: 9px 12px;
        background: #0f3460; color: #fff;
        border: 1px solid #1a4d8f;
        border-radius: 6px; font-size: 14px;
        font-family: inherit;
    }
    input:focus, select:focus, textarea:focus {
        outline: none; border-color: #e94560;
    }
    .row { display: flex; gap: 10px; }
    .row .form-group { flex: 1; }
    
    .btn {
        background: #e94560; color: white; border: none;
        padding: 12px 20px; border-radius: 6px;
        cursor: pointer; font-size: 14px; font-weight: bold;
        margin: 3px;
    }
    .btn:hover { background: #c73652; }
    .btn.green { background: #4ecca3; }
    .btn.green:hover { background: #3ba888; }
    .btn.blue { background: #3a7bd5; }
    .btn.blue:hover { background: #2d62aa; }
    .btn.gray { background: #555; }
    .btn.gray:hover { background: #444; }
    .btn-row { text-align: center; margin-top: 10px; }
    
    #result img { width: 100%; border-radius: 8px; margin-top: 10px; }
    
    .history-item {
        background: #0f3460;
        padding: 10px; border-radius: 8px;
        margin-bottom: 8px; font-size: 13px;
        display: flex; gap: 10px; align-items: center;
    }
    .history-item img {
        width: 60px; height: 60px; object-fit: cover;
        border-radius: 6px;
    }
    .history-item .info { flex: 1; }
    .history-item .info b { color: #e94560; }
    .history-item .del {
        background: #a00; color: #fff; border: none;
        padding: 6px 10px; border-radius: 5px; cursor: pointer;
        font-size: 12px;
    }

        input:disabled, input[disabled] {
        background: #2a2a2a !important;
        color: #666 !important;
        cursor: not-allowed;
        opacity: 0.5;
    }
    label.disabled {
        color: #555 !important;
        text-decoration: line-through;
    }

        #btnKamera {
        box-shadow: 0 2px 8px rgba(0,0,0,0.5);
        font-weight: bold;
        transition: all 0.2s ease;
    }
    #btnKamera:hover {
        transform: scale(1.05);
    }
