/* 
* Powered By MineLarx
* KxoUI
* V1.3.0
*/

@charset "UTF-8";

:root {
    --main-color: #FFFFFF;
    --main-bg-color: #F2F2F5;
    --main-disabled-color: #CACACA;
    --main-font-black-color: #000000;
    --main-font-color: #878787;
    --main-padding: 13px;
    --main-border-radius: 13px;
    --input-height: 45px;
    --spacing: 0.25rem;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

body {
    background: var(--main-bg-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-wrap:break-word;
}

html.menu-open {
    position: fixed;
    width: 100%;
    overflow-y: scroll;
}

a {
    text-decoration: none;
    color: inherit;
}
a:visited {
    text-decoration: none;
    color: inherit;
}
a:link {
    text-decoration: none;
    color: inherit;
}
a:hover {
    text-decoration: none;
    color: inherit;
}
a:active {
    text-decoration: none;
    color: inherit;
}

header {
    background: var(--main-color);
    border-radius: 0 0 8px 8px;
    padding: 8px 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    position: relative;
    align-items: center;
    justify-content: space-between;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-logo {
    height: 32px;
    width: 32px;
}

.header-text {
    text-decoration: none;
    color: var(--main-font-black-color);
    transition: color 0.3s ease;
}

.header-text:hover {
    color: var(--main-color);
}

main {
    flex: 1;
    padding: 30px 20px;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

h1 {
    margin-bottom: 1.5rem;
    color: var(--main-font-black-color);
}

hr {
    border:none;
    align-items: center;
    text-align: center;
    height: 2px;
    margin: 0.6rem 0;
    background-color: var(--main-bg-color);
}

select {
    margin: 1rem 0rem 0.6rem 0rem;
}

.small-help {
    font-size: 13px;
    padding-right: 15px;
    text-align: end;
    z-index: 3;
}

.card {
    background: var(--main-color);
    border-radius: var(--main-border-radius);
    padding: 25px;
    margin: 20px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    align-items: center;
    text-align: center;
}

.card-header {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--main-bg-color);
    color: var(--main-font-black-color);
    align-items: center;
    text-align: center;
}

.form-group {
    position: relative;
    margin: 15px 0;
}

i.fas + input {
    padding: 0 1rem 0 2.5rem;
}
label.block + input {
    padding: 0 0.95rem;
}

div.form-group i.fas {
    position: absolute;
    left: 0.95rem;
    top: 50%;
    transform: translateY(-50%);
}

label.block ~ i.fas {
    position: absolute;
    left: 0.95rem;
    top: 70%;
    transform: translateY(-50%);
}

.form-group.no-icon,
.input-group.no-icon {
    padding-left: 25px;
}

a[class="button"],
button,
input,
select {
    width: 100%;
    height: var(--input-height);
    border: 2px solid var(--main-bg-color);
    border-radius: var(--main-border-radius);
    background: var(--main-bg-color);
    color: var(--main-font-black-color);
    margin-top: 1.2rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    align-items: center;
    justify-content: center;
}

button[type="submit"],
input[type="submit"] {
    background: var(--main-bg-color);
    border-color: var(--main-bg-color);
    cursor: pointer;
    padding: 0 20px;
    display: flex;
}

input[type="button"] {
    background: var(--main-color);
    border-color: var(--main-color);
    cursor: pointer;
    padding: 0 20px;
    display: flex;
}

button[type="submit"]:hover,
input[type="submit"]:hover {
    background: var(--main-disabled-color);
    border: 2px solid var(--main-font-color);
    color: var(--main-font-color);
    box-shadow: 0 0px 3px var(--main-font-color);
}

:disabled {
    background: var(--main-disabled-color) !important;
    border-color: var(--main-disabled-color) !important;
    cursor: not-allowed;
}

footer {
  background: var(--main-color);
  border-top: 2px solid var(--main-bg-color);
  border-radius: 8px 8px 0 0;
  box-shadow: 0 0px 5px rgba(0, 0, 0, 0.1);
  padding: 1rem var(--main-padding);
  margin-top: auto;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-section {
  border-bottom: 1px solid var(--main-bg-color);
  transition: all 0.3s ease;
}

.footer-toggle {
  display: flex;
  align-items: center;
  padding: 12px 0;
  cursor: pointer;
  color: var(--main-font-black-color);
  font-weight: 500;
  list-style: none;
}

.footer-toggle::-webkit-details-marker {
  display: none;
}

.footer-toggle i {
  margin-right: 8px;
  transition: transform 0.3s ease;
}

.footer-section[open] .footer-toggle i {
  transform: rotate(90deg);
}

.footer-details {
  padding: 0 20px 15px 28px;
  color: var(--main-font-color);
  font-size: 0.9em;
  line-height: 1.6;
}

.icp-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.police-badge {
  width: 20px;
  height: 20px;
  vertical-align: middle;
}

.copyright {
  text-align: center;
  padding: 3px 0;
  color: var(--main-font-color);
  font-size: 13px;
}
details + div.copyright {
  text-align: center;
  padding: 3px 0;
  color: var(--main-font-color);
  font-size: 13px;
  margin-top: 13px;
}

.news-item {
    border-bottom: 2px solid var(--main-bg-color);
    padding: 15px 0;
    margin-bottom: 10px;
}
.news-item .prefix {
    background-color: #f0f0f0;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 14px;
    margin-right: 10px;
}
.news-item .title {
    font-size: 18px;
    font-weight: bold;
    margin: 5px 0;
}
.news-item .meta {
    color: #666;
    font-size: 14px;
    margin: 5px 0;
}
.news-item .button {
    display: inline-block;
    text-decoration: none;
    padding: 8px;
}
.error {
    color: red;
    font-size: 14px;
}

.menu-toggle {
    display: none;
}
.menu-container {
    position: relative;
    z-index: 1000;
}

.menu-content {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    padding: 80px 20px 20px;
    background-color: var(--main-color);
    box-shadow: -2px 0 15px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    z-index: 1000;
}

.menu-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--main-color);
    border-radius: var(--main-border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: auto;
    position: relative;
    z-index: 1001;
}

.menu-icon, .close-icon {
    font-size: 20px;
    color: var(--main-font-black-color);
    transition: all 0.3s ease;
}

.close-icon {
    position: absolute;
    opacity: 0;
    transform: rotate(90deg);
}

.menu-toggle:checked + .menu-button .menu-icon {
    opacity: 0;
    transform: rotate(90deg);
}

.menu-toggle:checked + .menu-button .close-icon {
    opacity: 1;
    transform: rotate(0deg);
}

.menu-toggle:checked ~ .menu-content {
    right: 0;
    
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.menu-toggle:checked ~ .menu-overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.menu-header {
    display: flex;
    justify-content: flex-end;
    padding: 10px 0;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--main-bg-color);
}

.menu-close-btn {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--main-font-black-color);
    padding: 5px;
}

.menu-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.menu-nav a {
    padding: 12px 15px;
    border-radius: var(--main-border-radius);
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.menu-nav a:hover {
    background-color: var(--main-bg-color);
    transform: translateX(-5px);
}

.menu-nav a i {
    margin-right: 12px;
    width: 20px;
    text-align: center;
    font-size: 1.2rem;
}

.typewriter-container {
    min-height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cursor {
    animation: blink 0.7s infinite;
}

.select-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.select-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--main-font-color);
}

.custom-select-container {
    position: relative;
}

.custom-select {
    width: 100%;
    height: var(--input-height);
    padding: 0 45px 0 45px;
    border: 2px solid var(--main-bg-color);
    border-radius: var(--main-border-radius);
    background: var(--main-color);
    color: var(--main-font-black-color);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.custom-select:hover {
    border-color: #d0d0d0;
}

.custom-select:focus {
    outline: none;
    border-color: var(--main-bg-color);
    box-shadow: 0 0 0 1px var(--main-bg-color, 0.3);
}

.select-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--main-font-color);
    z-index: 2;
    font-size: 16px;
}

.select-arrow {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--main-font-color);
    transition: transform 0.3s ease;
}

.select-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 200px;
    overflow-y: auto;
    background: var(--main-color);
    border: 2px solid var(--main-bg-color);
    border-radius: var(--main-border-radius);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.select-wrapper.active .select-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.select-wrapper.active .select-arrow {
    transform: translateY(-50%) rotate(180deg);
}

.select-option {
    padding: 12px 15px 12px 45px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    display: flex;
    align-items: center;
}

.select-option-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--main-font-color);
    width: 20px;
    text-align: center;
}

.select-option:hover {
    background: var(--main-bg-color);
}

.select-option.selected {
    background: #f0f7fd;
    color: var(--main-font-black-color);
}

.hidden-select {
    position: absolute;
    opacity: 0;
    height: 0;
    width: 0;
    pointer-events: none;
}

.input-field {
    position: relative;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}