/* Copyright 2026 Zozimus Technologies */

body {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    box-sizing: border-box;
    text-align: center;
    background: linear-gradient(135deg, #3d7ea6 0%, #1a4a6e 100%);
}
.container {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding: 30px 16px;
}
 
.container h1 {
    color: #ffffff;
    font-family: Roboto;
}
 
.section {
    background-color: #ffffff;
    padding: 30px 24px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
}
 
#my-qr-reader {
    padding: 20px !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 12px;
}
 
#my-qr-reader img[alt="Info icon"] {
    display: none;
}
 
#my-qr-reader img[alt="Camera based scan"] {
    width: 100px !important;
    height: 100px !important;
}
 
button {
    padding: 10px 20px;
    border: none;
    outline: none;
    border-radius: 8px;
    color: white;
    font-size: 15px;
    cursor: pointer;
    margin-top: 15px;
    margin-bottom: 10px;
    background-color: #3d7ea6;
    transition: 0.2s all ease;
    font-family: Roboto;
    font-weight: 500;
}
 
button:hover {
    background-color: #1a4a6e;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(26, 74, 110, 0.3);
}
 
#html5-qrcode-anchor-scan-type-change {
    text-decoration: none !important;
    color: #555 !important;
    font-family: Roboto;
    font-weight: 400;
    font-size: 13px;
}

#my-qr-reader select {
    width: 100%;
    padding: 10px 14px;
    margin-top: 6px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 10px;
    background-color: #f8f9fa;
    font-family: Roboto;
    font-size: 14px;
    color: #333;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    cursor: pointer;
    outline: none;
    transition: 0.2s all ease;
}

#my-qr-reader select:focus {
    border-color: #3d7ea6;
    box-shadow: 0 0 0 3px rgba(61, 126, 166, 0.15);
}

#my-qr-reader span {
    font-family: Roboto !important;
    font-size: 13px !important;
    color: #555 !important;
    display: inline-block !important;
    margin-bottom: 8px !important;
}

video {
    width: 100% !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 10px;
}

.result {
    background-color: #ffffff;
    padding: 24px 20px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
    margin-top: 16px;
    word-break: break-all;
    overflow-wrap: anywhere;
    overflow: hidden;
    font-family: Roboto;
    color: #333;
    font-size: 14px;
    line-height: 1.5;
}

.result a {
    color: #3d7ea6;
    text-decoration: underline;
    font-weight: 500;
    cursor: pointer;
}

.result a:hover {
    color: #1a4a6e;
}

.copy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    margin-left: 8px;
    background: #f0f2f5;
    border: none;
    border-radius: 8px;
    color: #555;
    font-size: 14px;
    cursor: pointer;
    vertical-align: middle;
    transition: 0.2s all ease;
}

.copy-btn:hover {
    background: #3d7ea6;
    color: #fff;
    transform: none;
    box-shadow: none;
}

.copyright {
    font-size: 12px;
    color: #ffffff;
    margin-top: 24px;
    padding-top: 15px;
    font-family: Roboto;
}

.copyright a {
    color: #ffffff;
    text-decoration: none;
}

.copyright a:hover {
    text-decoration: underline;
}

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

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.header-top h1 {
    margin: 0;
}

.donate-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    background: #e53935;
    color: #ffffff;
    border-radius: 25px;
    text-decoration: none;
    transition: 0.3s background, 0.3s transform;
    font-size: 14px;
    font-weight: 600;
    font-family: Roboto;
    white-space: nowrap;
}

.donate-btn:hover {
    background: #c62828;
    transform: scale(1.05);
}
