
body {
    background: #f4f7f5;
    font-family: Arial, sans-serif;
    color: #24352d;
}

.navbar {
    background: #145b43;
}

.logo {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #ffffff;
    color: #145b43;
    margin-right: 8px;
    font-weight: bold;
}

.custom-card {
    border: 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,.05);
}

.card-header {
    background: white;
    padding: 18px;
    border-bottom: 1px solid #e9efeb;
    font-weight: bold;
}

.camera-container {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    background: #15221c;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.camera-container video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#cameraPlaceholder {
    position: absolute;
    color: white;
    text-align: center;
    pointer-events: none;
}

.scan-frame {
    position: absolute;
    inset: 18%;
    border: 2px solid rgba(255,255,255,.7);
    border-radius: 10px;
    pointer-events: none;
    box-shadow: 0 0 0 1000px rgba(0,0,0,.12);
}

.result-panel {
    background: #edf6f0;
    padding: 18px;
    border-radius: 12px;
}

.info-box {
    background: #f5f8f6;
    border-radius: 10px;
    padding: 14px;
}

.info-box small {
    color: #718078;
}

.info-box h5 {
    font-weight: bold;
    margin-top: 8px;
}

textarea {
    resize: vertical;
    background: #fafcfb !important;
    font-size: 13px !important;
}

.btn-success {
    background: #168052;
    border-color: #168052;
}

.btn-primary {
    background: #176b50;
    border-color: #176b50;
}

.table th {
    font-size: 13px;
    color: #718078;
}

@media(max-width:576px) {

    .camera-container {
        aspect-ratio: 3 / 4;
    }

    .scan-frame {
        inset: 20% 8%;
    }

    .navbar-brand {
        font-size: 16px;
    }
}
