﻿
.qr-page {
    background: #f7faf7;
    padding: 30px 0 65px;
    color: #183b25;
}

    .qr-page .container {
        max-width: 1100px;
    }

/* Breadcrumb */

.tools-breadcrumb {
    margin-bottom: 20px;
    font-size: 13px;
}

    .tools-breadcrumb ol {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 8px;
        padding: 0;
        margin: 0;
        list-style: none;
    }

    .tools-breadcrumb li {
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }

        .tools-breadcrumb li:not(:last-child)::after {
            content: "›";
            color: #789482;
            font-size: 18px;
        }

    .tools-breadcrumb a {
        color: #087a37;
        text-decoration: none;
        font-weight: 600;
    }

        .tools-breadcrumb a:hover {
            text-decoration: underline;
        }

    .tools-breadcrumb li[aria-current="page"] {
        color: #183b25;
        font-weight: 700;
    }

/* Hero */

.qr-hero {
    background: linear-gradient(135deg, #075b2b, #198754);
    color: white;
    text-align: center;
    border-radius: 20px;
    padding: 42px 20px;
    margin-bottom: 25px;
}

    .qr-hero span {
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 1px;
    }

    .qr-hero h1 {
        font-size: clamp(27px, 4vw, 40px);
        font-weight: 800;
        margin: 12px 0;
    }

    .qr-hero p {
        max-width: 650px;
        margin: auto;
        line-height: 1.7;
    }

/* Generator */

.qr-panel,
.qr-guide {
    background: white;
    border: 1px solid #e0e9e0;
    border-radius: 18px;
    padding: 26px;
    margin-bottom: 22px;
}

.qr-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.qr-input-panel h2,
.qr-output-panel h2,
.qr-guide h2 {
    font-size: 23px;
    font-weight: 750;
    margin-bottom: 20px;
}

.qr-input-panel label {
    display: block;
    font-weight: 650;
    margin-bottom: 9px;
}

.qr-input-panel textarea,
.qr-input-panel select {
    width: 100%;
    padding: 13px;
    border: 1px solid #cbdccc;
    border-radius: 10px;
    background: white;
    color: #183b25;
    font-size: 16px;
}

    .qr-input-panel textarea:focus,
    .qr-input-panel select:focus {
        outline: 2px solid #198754;
        outline-offset: 1px;
    }

.qr-settings {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 18px;
}

#qrColor {
    width: 100%;
    height: 49px;
    padding: 5px;
    border: 1px solid #cbdccc;
    border-radius: 10px;
    cursor: pointer;
}

.qr-primary,
.qr-download {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
}

.qr-primary {
    background: #087a37;
    color: white;
    margin-top: 22px;
}

.qr-download {
    background: #075b2b;
    color: white;
    margin-top: 20px;
}

    .qr-download:disabled {
        opacity: .45;
        cursor: not-allowed;
    }

#qrError {
    color: #b42318;
    font-weight: 600;
    margin-top: 12px;
}

.qr-output-panel {
    text-align: center;
}

.qr-output {
    min-height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background: #f4faf4;
    border: 1px dashed #b4d5bd;
    border-radius: 12px;
    overflow: auto;
}

    .qr-output canvas,
    .qr-output img {
        max-width: 100%;
        height: auto !important;
    }

.qr-note {
    font-size: 13px;
    color: #607568;
    margin-top: 12px;
}

.qr-guide {
    line-height: 1.8;
}

    .qr-guide h2:not(:first-child) {
        margin-top: 25px;
    }

@media (max-width: 767px) {
    .qr-page {
        padding: 16px 0 40px;
    }

    .qr-panel,
    .qr-guide {
        padding: 18px;
    }

    .qr-grid {
        grid-template-columns: 1fr;
    }

    .qr-settings {
        grid-template-columns: 1fr 1fr;
    }

    .qr-output {
        min-height: 260px;
    }

    .qr-hero {
        padding: 32px 16px;
    }
}
