* {
    box-sizing: border-box;
    font-family: "BPG Arial", sans-serif;
}

body {
    margin: 0;
    background: #f5f7fb;
    color: #172033;
    font-family:
        Arial,
        sans-serif;
}

a {
    color: #315efb;
    text-decoration: none;
}

.container {
    width: min(
        1500px,
        calc(100% - 40px)
    );

    margin: auto;
}

.helpitlogo{
    width: 350px;
}

.site-footer {
    text-align: center;
    margin-top:10%;
}



/* NAV */

header {
    background: #fff;
    border-bottom: 1px solid #e7eaf0;
}

.nav {
    min-height: 72px;

    display: flex;

    align-items: center;

    justify-content:
        space-between;

    gap: 20px;
    
    padding: 0px 55px 0px 55px;
}

.logo {
    color: #111827;

    font-size: 22px;

    font-weight: 800;
}

nav {
    display: flex;

    align-items: center;

    gap: 18px;

    flex-wrap: wrap;
}


/* BUTTON */


.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    min-height: 50px;
    padding: 0 26px;

    border: 1px solid transparent;
    border-radius: 12px;

    background: linear-gradient(135deg, #105b59, #147b75);
    color: #ffffff;

    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;

    cursor: pointer;
    box-sizing: border-box;

    box-shadow: 0 4px 12px rgba(16, 91, 89, 0.16);

    transition:
        background 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.btn:hover {
    background: linear-gradient(135deg, #0d4b49, #105b59);
    box-shadow: 0 7px 18px rgba(16, 91, 89, 0.24);
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(16, 91, 89, 0.16);
}

.btn:focus-visible {
    outline: 3px solid rgba(20, 123, 117, 0.3);
    outline-offset: 3px;
}

.btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}



/* HERO */

.hero {
    margin-top: 40px;

    padding: 60px;

    border-radius: 24px;

    color: #fff;
}

.hero h1 {
    font-size: 46px;

    max-width: 700px;

    margin:
        15px 0;
}

.hero p {
    max-width: 700px;

    line-height: 1.7;

    color: #dce5ff;
}


/* CARD */

.card,
.form-card {
    background: #fff;

    border:
        1px solid
        #e5e9f0;

    border-radius: 16px;

    padding: 24px;

    margin-top: 20px;
}

.form-card {
    max-width: 650px;

    margin:
        50px auto;
}

.form-card.large {
    max-width: 800px;
}


/* FORM */

label {
    display: block;
    font-weight: 700;
    margin-top:4%;
}

input,
textarea,
select {
    width: 100%;

    margin-top: 8px;

    padding: 13px;

    border:
        1px solid
        #d8dde6;

    border-radius: 10px;

    background: #fff;

    font:
        inherit;
}

textarea {
    resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;

    border-color:
        #315efb;

    box-shadow:
        0 0 0 3px
        #315efb15;
}


/* HEADER */

.page-header {
    margin-top: 35px;

    display: flex;

    justify-content:
        space-between;

    align-items: center;

    gap: 20px;
}

.page-header h1 {
    margin: 0;
}


/* STATS */

.stats {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            1fr
        );

    gap: 18px;

    margin-top: 25px;
}

.stat {
    background: #fff;

    border:
        1px solid
        #e5e9f0;

    border-radius: 16px;

    padding: 22px;
}

.stat strong {
    display: block;

    font-size: 28px;

    margin-bottom: 5px;
}

.stat span {
    color: #697386;
}


/* TABLE */

.table-wrap {
    overflow-x: auto;
}

table {
    width: 100%;

    border-collapse:
        collapse;
}

th,
td {
    padding: 14px;

    text-align: left;

    border-bottom:
        1px solid
        #edf0f4;
}

th {
    color: #687386;

    font-size: 13px;
}


/* STATUS */

.status {
    display: inline-block;

    padding:
        7px
        10px;

    border-radius: 20px;

    background: #eef2ff;

    color: #315efb;

    font-size: 13px;

    font-weight: 700;
}


/* TICKET */

.ticket-grid {
    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: 20px;
}

.file-item {
    padding: 10px;

    background:
        #f5f7fb;

    border-radius: 8px;

    margin-top: 8px;
}


/* CHAT */

.messages {
    height: 450px;

    overflow-y: auto;

    padding: 5px;
}

.message {
    background: #f1f3f7;

    padding: 12px;

    border-radius: 12px;

    margin-bottom: 10px;
}

.message.mine {
    background: #e8efff;
}

.message p {
    margin:
        6px
        0;
}

.message small {
    color: #788296;
}


/* PAYMENT */

.payment-box {
    border:
        2px solid
        #315efb;
}


/* ALERT */

.alert {
    padding: 14px 18px;

    border-radius: 10px;

    margin-top: 20px;
}

.alert.error {
    background: #feecec;

    color: #a51d1d;
}

.alert.success {
    background: #eaf8ef;

    color: #176b38;
}

.muted {
    color: #687386;
}


/* MOBILE */

@media (
    max-width: 750px
) {

    .container {
        width:
            calc(100% - 24px);
    }

    .nav {
        padding:
            15px 0;

        align-items:
            flex-start;

        flex-direction:
            column;
    }

    nav {
        gap: 10px;

        font-size: 13px;
    }

    .hero {
        padding: 30px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .stats {
        grid-template-columns:
            1fr;
    }

    .ticket-grid {
        grid-template-columns:
            1fr;
    }

    .page-header {
        align-items:
            flex-start;

        flex-direction:
            column;
    }
}

.payment-methods {
    margin: 25px 0;
    color: #6b7280;
    font-size: 14px;
}

.payment-logos {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}

.payment-logos img {
    height: 100px;
    width: auto;
    object-fit: contain;
    background: #fff;
    padding: 5px 9px;
    border-radius: 7px;
    border: 1px solid #e5e7eb;
}

#backToTop {
    position: fixed;
    right: 10px;
    bottom: 25px;

    width: 48px;
    height: 48px;

    border: none;
    background: #105653;

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    visibility: hidden;
    transition: .25s ease;

    box-shadow: 0 8px 20px rgba(49, 94, 251, .30);
}

#backToTop.show {
    opacity: 1;
    visibility: visible;
}

/* ზემოთ მიმართული ისარი */
.arrow-up {
    width: 12px;
    height: 12px;

    border-left: 3px solid white;
    border-top: 3px solid white;

    transform: rotate(45deg);
    margin-top: 6px;
}

#backToTop:hover {
    background: #105653;
    transform: translateY(-3px);
}



