﻿@import url('https://fonts.googleapis.com/css2?family=Epilogue:wght@400;600&display=swap');

:root {
    --primary-color: #000097;
    --secondary-color: #fccb00;
}

* {
    box-sizing: border-box;
}

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    line-height: 1;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

    blockquote:before, blockquote:after,
    q:before, q:after {
        content: '';
        content: none;
    }

table {
    border-collapse: collapse;
    border-spacing: 0;
}

html {
    font-family: 'Epilogue', sans-serif;
    color: #111;
}

.w-100 {
    width: 100%;
}

.card {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    background: #fff;
    border-radius: 10px;
    padding: 32px;
    box-shadow: 0px 1.4px 2.2px rgba(0, 0, 0, 0.006), 0px 3.5px 5.3px rgba(0, 0, 0, 0.008), 0px 6.5px 10px rgba(0, 0, 0, 0.01), 0px 11.6px 17.9px rgba(0, 0, 0, 0.012), 0px 21.7px 33.4px rgba(0, 0, 0, 0.014), 0px 52px 80px rgba(0, 0, 0, 0.02);
}

h1 {
    font-size: 1.6rem;
}

h2 {
    font-size: 1.4rem;
}

h3 {
    font-size: 1.2rem;
}

/* Badge */
.badge {
    display: inline-block;
    padding: 6px 8px;
    background: #f5f5f5;
    font-size: 12px;
    border-radius: 10px;
}

.badge--success {
    background: #edffe5;
    color: #44bf13;
}

.badge--warning {
    background: #fff2b9;
    color: #bfaf1e;
}

/* Table */
.table {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
}

.table thead {
    background: var(--primary-color);
    color: #fff;
}

.table thead tr th {
    font-size: 15px;
    padding: 16px;
    text-align: left;
}

    .table tbody tr td {
        padding: 16px;
        text-align: left;
        font-size: 15px;
    }

    .table tbody tr:nth-child(2n+2) {
        background: #f9f9f9;
    }

.table a {
    text-decoration: none;
    color: var(--primary-color);
}

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

/* Button */
.btn {
    cursor: pointer;
    padding: 16px 32px;
    border: none;
    background: var(--secondary-color);
    border-radius: 30px;
    color: #333;
    font-size: 1rem;
    transition: all .2s;
    text-decoration: none;
    display: inline-block;
}

    .btn:hover {
        background: #edbf05;
    }

.btn.btn--small {
    padding: 12px 24px;
    font-size: 0.9rem;
}

.btn.btn--primary {
    background: var(--primary-color);
    color: #fff;
}

    .btn.btn--primary:hover {
        background: #6262dc;
        color: #fff;
    }

.btn.btn--gray {
    background: #dedede;
    color: #333;
}

    .btn.btn--gray:hover {
        background: #b8b8b8;
    }

.btn.btn--danger {
    background: #bf1e1e;
    color: #fff;
}

    .btn.btn--danger:hover {
        background: #e63030;
    }

.btn.btn[disabled] {
    cursor: not-allowed;
    background: #eee;
    opacity: 0.7;
}

/* Form */
.form-input .form-control {
    width: 100%;
    height: 50px;
    border: 2px solid #eee;
    border-radius: 10px;
    padding: 0 12px;
    box-sizing: border-box;
}

    .form-input .form-control[type="file"] {
        padding-top: 12px;
    }

    .form-input .form-control[type="checkbox"] {
        width: 18px;
        height: 18px;
    }

.form-input .id-photos {
    display: flex;
    gap: 16px;
}

    .form-input .id-photos label {
        width: 100%;
        height: 100px;
        border: 2px solid #eee;
        border-radius: 10px;
        display: flex;
        flex-direction: column;
        gap: 8px;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        cursor: pointer;
        position: relative;
    }

        .form-input .id-photos label.done {
            border-color: #44bf13;
        }

        .form-input .id-photos label.done:before {
            content: '\2713';
            width: 24px;
            height: 24px;
            background: #44bf13;
            position: absolute;
            top: -8px;
            right: -8px;
            border-radius: 50%;
            color: #fff;
            text-align: center;
            line-height: 24px;
            font-size: 14px;
        }

        .form-input .id-photos label:hover {
            background: #f5f5f5;
        }

        .form-input .id-photos label img {
            max-width: 32px;
            max-height: 32px;
        }

        .form-input .id-photos label input {
            display: none;
        }


.form-input .form-label {
    display: block;
    margin-bottom: 4px;
    font-size: 0.95rem;
}

.form-input .form-error {
    display: block;
    margin-top: 8px;
    font-size: 0.8rem;
    color: #d92324;
}

.form-input .form-error.field-validation-valid {
    display: none;
}

/* Alert */
.alert {
    padding: 16px;
    font-size: 0.9rem;
    background: #f5f5f5;
    border-radius: 10px;
    margin-bottom: 16px;
}

    .alert.alert--success {
        background: #edffe5;
        color: #44bf13;
    }

    .alert.alert--error {
        background: #ffe5e5;
        color: #d92324;
    }

    .alert.alert--warning {
        background: #fff2b9;
        color: #bfaf1e;
    }