html {
    font-size: 14px;
    position: relative;
    height: 100%;
    margin: 0;
}

body {
    font-family: Arial, sans-serif;
    height: 100%;
    margin: 0;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.russo-one-regular {
    font-family: "Russo One", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.default-bg {
    background-color: #fef3f3 !important;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

.container {
    width: 100%;
    text-align: center;
    margin-top: 40px;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 5px;
}

.login-box {
    width: 350px;
    margin: 0 auto;
    background-color: #e6e6e6;
    padding: 20px;
    text-align: left;
}

    .login-box h3 {
        margin-top: 0;
    }

    .login-box label {
        display: block;
        margin-top: 10px;
        font-size: 14px;
    }

    .login-box input {
        width: 100%;
        padding: 5px;
        margin-top: 5px;
    }

.statistics-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 32px;
    font-family: Arial, sans-serif;
}

.page-header {
    margin-bottom: 32px;
}

    .page-header h1 {
    font-size: 32px;
    margin-bottom: 8px;
}

    .page-header p {
    color: #666;
    font-size: 16px;
}

.card-header {
    margin-bottom: 24px;
    background: #ffffff;
}

    .card-header h2 {
    font-size: 18px;
    margin: 0;
}

.card-header-space {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

    .form-group label {
    font-size: 14px;
    font-weight: 600;
}

.search-input {
    max-width: 260px;
}

.form-registration {
    width: 100%;
    background-color: #fff;
    text-align: left;
    color: #000;
}

@media screen and (min-width: 768px) {
    .form-registration {
        width: 50%;
    }
}

.sidebar {
    width: 18vw;
    height: 100%;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: #111;
    overflow: hidden;
    padding-top: 60px;
    transition: 0.5s;
}

    .sidebar a {
        padding: 8px 8px 8px 8px;
        text-decoration: none;
        padding-left: 48px;
        color: #818181;
        display: block;
        transition: 0.3s;
    }

        .sidebar a:hover {
            color: #f1f1f1;
            background-color: #ff7938;
        }

.openbtn {
    position: fixed;
    display: none !important;
    font-size: 20px;
    cursor: pointer;
    background-color: #111;
    color: white;
    padding: 10px 15px 0px 10px;
    border: none;
    top: 5px;
}

.closebtn {
    display: none !important;
    position: absolute;
    top: 0;
    right: 5px;
    font-size: 60px !important;
    margin-left: 50px;
    color: black;
    width: 60px;
}

.openbtn:hover {
    background-color: #444;
}

#main {
    margin-left: 20vw;
    margin-right: 5px;
}

@media screen and (max-height: 450px) {
    .sidebar {
        padding-top: 15px;
    }
}

@media screen and (max-width: 700px) {
    .sidebar {
        width: 60vw;
    }

    .closebtn {
        display: block !important;
    }

    .openbtn {
        display: block !important;
    }

    .sidebar-container a {
        font-size: 30px !important;
    }
}

.nav-logo {
    width: 100%;
    height: auto;
}

.sidebar-container {
    width: 100%;
    height: auto;
}

    .sidebar-container a {
        font-size: 1.25vw;
    }

.logout {
    bottom: 10px;
    width: 20vw;
}

.mr-0 {
    margin-right: 0 !important;
}

hr {
    color: gray;
}

.create-btn {
    width: 100%;
    padding: 8px;
    background-color: #f57c00;
    border-radius: 7px;
    color: white;
    border: none;
    cursor: pointer;
}

    .create-btn:hover {
        background-color: #e56b00;
    }

.anul-btn {
    text-decoration: none;
    width: 100%;
    padding: 8px;
    background-color: darkgray;
    border-radius: 5px;
    color: white;
    border: none;
    cursor: pointer;
}

    .anul-btn:hover {
        background-color: dimgray;
    }

.outer-box {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 30px;
}

.activity-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.full-width {
    grid-column: span 2;
}

select,
input,
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    box-sizing: border-box;
}

textarea {
    height: 80px;
    resize: none;
}

.button-group {
    margin-top: 10px;
}

.container {
    padding: 0 27px 32px 27px;
}

h1 {
    font-size: 31px;
    font-weight: 400;
    margin: 0 0 12px 0;
}

.subtitle {
    font-size: 16px;
    margin: 0 0 34px 0;
}

.card {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 9px;
    padding: 24px;
    margin-bottom: 24px;
    color: #000;
}

    .card h3 {
        font-size: 16px;
        font-weight: 400;
        margin: 0;
    }

.empty-message {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 16px;
}

.dashboard-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 32px;
}

    .dashboard-table th {
        font-weight: 400;
        border-bottom: 2px solid #eee;
        text-align: left;
        padding: 10px 8px;
        font-size: 14px;
    }

    .dashboard-table td {
        border-bottom: 1px solid #eee;
        text-align: left;
        padding: 10px 8px;
        font-size: 14px;
    }

.table-activity tbody tr:last-child td {
    border-bottom: none;
}

.qr-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 1200px;
    margin: 32px auto;
    padding: 0 30px;
}

.qr-left,
.qr-right {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 28px;
    box-sizing: border-box;
}

    .qr-left h2,
    .qr-right h2 {
        margin: 0 0 28px;
        font-size: 18px;
        font-weight: 500;
    }

    .qr-left label {
        display: block;
        margin: 18px 0 8px;
        font-size: 14px;
        font-weight: 500;
    }

    .qr-left input {
        width: 100%;
        background: transparent;
        font-size: 14px;
        color: #555;
        margin-bottom: 8px;
    }

    .qr-left p,
    .qr-right p {
        color: #777;
        font-size: 14px;
        margin: 10px;
    }

    .qr-left h3 {
        margin: 42px 0 12px;
        font-size: 20px;
        font-weight: 500;
    }

.url-box {
    background: #fff3f3;
    border-radius: 4px;
    padding: 18px;
    font-size: 14px;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .qr-container {
        grid-template-columns: 1fr;
        padding: 0 16px;
    }

    .qr-preview {
        min-height: 300px;
    }
}

.page-header {
    margin-bottom: 30px;
}

    .page-header h1 {
        font-size: 38px;
        font-weight: 600;
    }

    .page-header p {
        margin-top: 8px;
        font-size: 15px;
    }

.export-container {
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.export-card {
    background: #ffffff;
    width: 340px;
    min-height: 620px;
    padding: 28px;
    border-radius: 10px;
    border: 1px solid #e5e5e5;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

    .export-card h3 {
        font-size: 16px;
        margin-bottom: 30px;
        color: #222;
    }

    .export-card label {
        display: block;
        font-size: 13px;
        color: #555;
        margin-bottom: 10px;
    }

    .export-card select {
        width: 100%;
        padding: 14px;
        border: 1px solid #ddd;
        border-radius: 6px;
        background: #fff;
        font-size: 14px;
        margin-bottom: 25px;
        outline: none;
    }

.preview-wrapper {
    display: flex;
    justify-content: right;
}

.preview-card {
    background: #ffffff;
    width: 100%;
    min-height: 620px;
    padding: 28px;
    border-radius: 10px;
    border: 1px solid #e5e5e5;
}

    .preview-card h3 {
        font-size: 15px;
        font-weight: 600;
        margin-bottom: 30px;
    }

.preview-header {
    background: #fbf0f0;
    width: 100%;
    padding: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

    .preview-header strong {
        font-size: 15px;
    }

    .preview-header p {
        margin: 6px 0 0;
        font-size: 13px;
        color: #777;
    }

.activity-list {
    border: 1px solid #e4e4e4;
    border-radius: 4px;
    padding: 0 18px;
}

.activity-item {
    padding: 16px 0;
    border-bottom: 1px solid #e5e5e5;
}

.logs-card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 26px;
    margin-bottom: 24px;
}

    .logs-card h3 {
        font-size: 15px;
        font-weight: 600;
        margin: 0 0 28px;
    }

.filter-row {
    display: flex;
    gap: 220px;
    align-items: flex-start;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #999;
}

    .search-box span {
        font-size: 18px;
    }

    .search-box input::placeholder {
        color: #999;
    }

.logs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

    .logs-table th {
        text-align: left;
        font-weight: 600;
        padding: 0 10px 14px;
        border-bottom: 1px solid #e5e5e5;
    }

    .logs-table td {
        padding: 14px 10px;
        border-bottom: 1px solid #e5e5e5;
    }

.theme-page {
    padding: 22px 30px;
}

.theme-card {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 18px 25px 20px;
    background: #ffffff;
    border: 1px solid #e4e4e4;
    border-radius: 6px;
    margin-bottom: 16px;
}

.preset-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.preset-select {
    width: auto;
    height: 34px;
    padding: 4px 10px;
    font-size: 15px;
}

.preset-right {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 55px;
}

.add-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid #000000;
    background: #2eae20;
    color: white;
    text-decoration: none;
}

.color-group {
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .color-group > label,
    .logo-group > label {
        font-size: 20px;
        /*margin-bottom: 7px;*/
        text-align: center;
        width: 100%;
    }

.color-input {
    width: 175px;
    height: 175px;
    border: 1px solid #000;
    padding: 0;
    box-sizing: border-box;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background: none;
}

    .color-input.button {
        background: none;
    }

    .color-input.background {
        background: none;
    }

.logo-card {
    display: flex;
    justify-content: space-around;
    padding: 18px 25px 10px;
}

.color-input.text {
    background: none;
}

.logo-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
}

    .logo-group select {
        margin-top: 220px;
    }

.logo-box {
    width: 200px;
    height: 175px;
    border: 1px solid #000;
    background: #fff;
    margin-top: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    cursor: pointer;
    text-align: center;
    font-size: 13px;
    color: #555;
    padding: 10px;
}

    .logo-box img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        padding: 8px;
        box-sizing: border-box;
    }

.name-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

    .name-group label {
        font-size: 20px;
        margin-bottom: 10px;
        text-align: center;
    }

.name-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .name-row input {
        width: 220px;
        height: 34px;
        padding: 0 10px;
    }

    .name-row button {
        height: 34px;
        padding: 0 20px;
        background: #ff762b;
        color: #ffffff;
        font-size: 15px;
        cursor: pointer;
    }
