/* MUHUGA Frontend Styles */

.muhuga-frontend {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* QR Scan Page */
.muhuga-qr-page {
    min-height: 100vh;
    background: linear-gradient(180deg, #ecfdf5 0%, #ffffff 100%);
    padding: 40px 20px;
}

.muhuga-qr-container {
    max-width: 600px;
    margin: 0 auto;
}

.muhuga-qr-header {
    text-align: center;
    margin-bottom: 40px;
}

.muhuga-qr-header h1 {
    font-size: 28px;
    color: #064e3b;
    margin-bottom: 8px;
}

.muhuga-qr-header p {
    color: #6b7280;
}

.muhuga-qr-search {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 32px;
}

.muhuga-qr-input-group {
    display: flex;
    gap: 12px;
}

.muhuga-qr-input {
    flex: 1;
    padding: 16px 20px;
    font-size: 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    outline: none;
    transition: border-color 0.2s;
}

.muhuga-qr-input:focus {
    border-color: #10b981;
}

.muhuga-qr-btn {
    padding: 16px 32px;
    background: #10b981;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.muhuga-qr-btn:hover {
    background: #059669;
}

/* Result Card */
.muhuga-result-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.muhuga-result-header {
    background: linear-gradient(135deg, #064e3b, #065f46);
    color: white;
    padding: 32px;
    text-align: center;
}

.muhuga-result-header h2 {
    font-size: 24px;
    margin-bottom: 8px;
}

.muhuga-result-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
}

.muhuga-result-body {
    padding: 32px;
}

.muhuga-result-section {
    margin-bottom: 24px;
}

.muhuga-result-section h3 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6b7280;
    margin-bottom: 12px;
}

.muhuga-result-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.muhuga-result-item {
    background: #f9fafb;
    padding: 16px;
    border-radius: 12px;
}

.muhuga-result-item label {
    display: block;
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 4px;
}

.muhuga-result-item span {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
}

.muhuga-timeline {
    position: relative;
    padding-left: 24px;
}

.muhuga-timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e5e7eb;
}

.muhuga-timeline-item {
    position: relative;
    padding-bottom: 20px;
}

.muhuga-timeline-item::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 6px;
    width: 12px;
    height: 12px;
    background: #10b981;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 0 0 2px #10b981;
}

.muhuga-timeline-item h4 {
    font-size: 14px;
    margin-bottom: 4px;
}

.muhuga-timeline-item p {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
}

.muhuga-verified-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px;
    background: #d1fae5;
    border-radius: 12px;
    color: #065f46;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 640px) {
    .muhuga-qr-input-group {
        flex-direction: column;
    }
    
    .muhuga-result-grid {
        grid-template-columns: 1fr;
    }
}
