@font-face {
    font-family: 'AleksandraC';
    src: url('/inc/style/font/text.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

/* Root Variables - Zamonaviy rang tizimi */
:root {
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --success-color: #10b981;
    --error-color: #ef4444;
    --dark-bg: #1e293b;
    --light-bg: #f8fafc;
    --card-bg: #ffffff;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    outline: none !important;
    box-sizing: border-box;
}

#newy{
    padding-left: 35%;
}

body {
    background: var(--light-bg);
    color: var(--text-primary);
    max-width: 600px;
    margin: 0 auto !important;
    font-size: 13px !important;
    font-family: 'AleksandraC';
}

/* Alert Messages - original o'lcham */
.good {
    width: 40%; 
    color: var(--success-color);
    margin: 0 auto;
    text-align: center;
    font-size: 13px; 
    background-color: #fff; 
    padding: 5px 8px; 
    border: 1px solid var(--success-color);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    animation: slideDown 0.3s ease-out;
}

.forbidden {
    width: 40%; 
    color: var(--error-color);
    margin: 0 auto;
    text-align: center;
    font-size: 13px; 
    background-color: #fff; 
    padding: 5px 8px; 
    border: 1px solid var(--error-color);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Button - original o'lcham */
.okt {
    text-align: center;
    font-family: arial, sans-serif;
    font-size: 11px;
    font-weight: bold;
    color: white;
    text-decoration: none;
    user-select: none;
    padding: .2em 1.2em;
    border: 1px solid rgba(0,0,0,.1);
    border-radius: 2px;
    background: var(--primary-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
}

.okt:hover {
    background: var(--primary-hover);
    border: 1px solid rgb(198,198,198);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.okt:active {
    color: rgb(51,51,51);
    border: 1px solid rgb(204,204,204);
    background: rgb(238,238,238);
    box-shadow: 0 1px 2px rgba(0,0,0,.1) inset;
    transform: translateY(0);
}

#logo {
    font-weight: bolder;
    color: white;
}

.ok {
    background: var(--success-color);
    border-bottom: 2px solid #059669;
    padding: 10px;
    color: #FFFFFF;
    font-size: 12px;
    text-align: center;
    font-weight: bold;
    border-radius: 5px;
    box-shadow: var(--shadow-sm);
}

.err {
    background: var(--error-color);
    border-bottom: 2px solid #dc2626;
    padding: 10px;
    color: #FFFFFF;
    font-size: 12px;
    text-align: center;
    font-weight: bold;
    border-radius: 5px;
    box-shadow: var(--shadow-sm);
}

a {
    text-decoration: none !important;
    transition: var(--transition);
}

a:hover {
    color: #3b82f6 !important;
    text-decoration: none !important;
}

header {
    background: linear-gradient(120deg, #3b82f6 0%, #3b82f6 50%, #06b6d4 100%);
    padding: 0;
    text-align: center;
    color: #fff;
    width: 100%;
    z-index: 99999;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
    position: fixed;
    top: 0;
    max-width: 600px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

header a {
    display: block;
    padding: 15px;
    text-decoration: none;
}

header table {
    width: 100%;
}

header td {
    padding: 0;
}

.mOm {
    box-shadow: 0px 0 40px 20px rgba(37, 99, 235, 0.3), var(--shadow-xl);
    border-right: 1px solid rgba(37, 99, 235, 0.4);
    border-left: 1px solid rgba(37, 99, 235, 0.4);
    border-top: 1px solid rgba(37, 99, 235, 0.4);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(30, 41, 59, 0.05) 100%);
}

.l_bar {
    width: 1%;
    transition: var(--transition);
    border-radius: 5px;
}

.l_bar:hover {
    width: 1%;
    background: #06b6d4;
}

.r_bar {
    width: 1%;
    transition: var(--transition);
    border-radius: 5px;
}

.r_bar:hover {
    width: 1%;
    background: #3b82f6;
}

.c_bar {
    width: 60%;
}

.block {
    margin: 10px 8px;
    border-radius: 5px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.block:hover {
    box-shadow: var(--shadow-md);
}

.block.first {
    margin-top: 65px;
    border-radius: 5px;
}

.title {
    color: #fff;
    background: linear-gradient(120deg, #3b82f6 0%, #3b82f6 50%, #06b6d4 100%);
    padding: 15px;
    text-shadow: 1px 1px 2px rgba(52,52,52,0.20);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-radius: 5px;
}

.title a {
    color: #fff !important;    
}

.title a:hover {
    color: #f4f4f4 !important;
}

.title.back {
    padding-left: 5px;
}

.menu, .page {
    padding: 8px;
    color: #333;
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 12px;
    margin: 0 !important;
    border-radius: 5px;
    transition: var(--transition);
}

.menu:hover {
    background: var(--light-bg);
    box-shadow: var(--shadow-sm);
}

.page a {
    padding: 1px 5px;
    border: 1px solid var(--primary-color);
    color: #000;
    border-radius: 3px;
    transition: var(--transition);
}

.page_select {
    padding: 1px 5px;
    border: 1px solid #ccc;
    color: #ccc;
    border-radius: 3px;
}

.page a:hover {
    background: var(--primary-color);
    color: white;
    padding: 5px 9px;
    box-shadow: var(--shadow-sm);
}

.menu:last-child {
    border-bottom: none;
}


.title i {
    font-size: 16px;
    margin-right: 6px;
    vertical-align: middle;
}

.menu i {
    font-size: 16px;
    margin-right: 6px;
    vertical-align: middle;
}

/* Icon ranglari */
.icon-user     { color: #343a40; }
.icon-memory   { color: #20c997; }
.icon-menu     { color: #343a40; }

.icon-webhook  { color: #6610f2; }
.icon-trash    { color: #dc3545; }
.icon-domain   { color: #198754; }
.icon-ssl      { color: #fd7e14; }
.icon-ftp      { color: #0dcaf0; }
.icon-files    { color: #6c757d; }
.icon-db       { color: #795548; }
.icon-stats    { color: #20c997; }
.icon-cron     { color: #0d6efd; }

.icon-other    { color: #343a40; }
.icon-isp      { color: #0d6efd; }
.icon-php      { color: #6f42c1; }

.menu2 {
    background: #f2f2f2;
    padding: 10px;
    border-bottom: 1px solid #e8e8e8;
    border-left: 1px solid #e8e8e8;
    border-right: 1px solid #e8e8e8;
    text-decoration: none;
    color: #333;
}

.prev {
    color: #333;
    background: #fff;
    font-size: 12px;
    margin: 0 !important;
}

.link a {
    background: #fff;
    padding: 15px 15px 15px 8px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: block;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: var(--transition);
}

.link a:hover {
    background: #f2f2f2;
    padding: 15px 15px 15px 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-sm);
}

.link a:last-child {
    border-bottom: none;
}

footer {
    background: linear-gradient(120deg, #3b82f6 0%, #3b82f6 50%, #06b6d4 100%);
    color: #fff;
    text-shadow: 1px 1px 2px rgba(52,52,52,0.20);
    font-size: 13px;
    font-family: Roboto;
    padding: 10px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
}

footer a {
    color: #fff !important;
}

footer a:hover {
    color: #fff !important;
}

h1 {
    font-size: 13px !important;
    font-family: 'AleksandraC';
    text-align: center;
    color: #333;
    line-height: 15px !important;
}

h4 {
    font-family: Roboto !important;
    font-weight: 300 !important;
    margin-top: 12px !important;
    margin-left: 5px !important;
    float: left !important;
}

.gb {
    padding: 8px;
    color: #333;
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 12px;
    margin: 0;
}

.m {
    background: #fff;
    padding: 8px;
    color: #444;
    text-align: justify;
}

.copy {
    color: #333;
    background: #fff;
    float: right;
    margin-top: 0px;
    margin-right: 5px;
    padding: 0px 4px;
    border-radius: 2px;
    border: 1px solid #444;
    font-size: 11px;
    transition: var(--transition);
}

.copy:hover {
    background: var(--dark-bg);
    color: white;
    box-shadow: var(--shadow-sm);
}

.comments {
    padding: 10px;
    font-size: 15px;
    border-bottom: 1px dotted rgba(0, 0, 0, 0.05);
    background: #fff;
}

.comments:last-child {
    border-bottom: none;
}

.comm {
    color: #9B9191;
}

.name {
    font-size: 17px;
}

.emoji {
    width: 14px;
}

.on {
    margin-left: 5px;
}

.del {
    float: right;
    padding: 0px 5px;
    background: none;
    border-radius: 3px;
    font-size: 20px;
    opacity: 0.2;
    transition: var(--transition);
}

.del:hover {
    float: right;
    padding: 0px 5px;
    background: rgba(245, 245, 245, 0.5);
    border-radius: 3px;
    opacity: 1;
    transform: scale(1.1);
}

.del a:hover {
    opacity: 0.8;
}

.delete {
    float: right;
    font-size: 25px;
}

.pagination {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
    font-size: 13px;
}

.pagination a, .pagination b {
    background: #eee;
    padding: 5px 9px;
}

.pagination a:hover {
    background: #e0e0e0;
    padding: 5px 9px;
}

select {
    width: 214px !important;
}

a.left {
    float: left;
    background: #000;
    padding: 13px;
}

a.left:hover {
    background: #000;
}

code {
    padding: 0 !important;
    background: none !important;
    border: 0 !important;
    display: block !important;
    margin: 1px !important;
    overflow: auto !important;
}

.egg {
    color: #000 !important;
    margin-right: 5px;
    float: right;
    text-shadow: none;
}

.egg:hover {
    color: #333 !important;
}

#sp b {
    display: none;
    position: fixed;
    bottom: 50px;
    right: 8px;
    padding: 6px 15px;
    border-radius: 6px;
    background: #333;
    opacity: 0.6;
    text-align: center;
}

#sp:hover b {
    display: block;
}

input[type=text], input[type=password] {
    text-align: left !important;
    color: #333 !important;
    padding: 3px !important;
    border-radius: 1px !important;
    outline: none !important;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

input[type=text]:focus, input[type=password]:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1);
}

textarea {
    background: #fff;
    border-radius: 1px !important;
    color: #333 !important;
    outline: none !important;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1);
}

form {
    margin: 0 !important;
}

.btn {
    position: relative;
    overflow: hidden;
    margin-right: 4px;
}

.btn input {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    opacity: 0;
    transform: translate(-300px, 0) scale(4);
    font-size: 23px;
    cursor: pointer;
}

* + html .btn {
    padding: 2px 15px;
    margin: 1px 0 0 0;
}

.container {
    width: 100% !important;
    margin: 0  !important;
}

.clearfix {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidr {
    display: none;
    position: absolute;
    position: fixed;
    top: 0;
    height: 100%;
    z-index: 9999;
    width: 250px;
    overflow-y: auto;
    font-family: sans-serif;
    font-size: 15px;
    background: #fff;
    color: #333;
    box-shadow: var(--shadow-xl);
}

.sidr .sidr-inner {
    padding: 0 0 15px;
}

.sidr .sidr-inner>p {
    margin-left: 25px;
    margin-right: 15px;
}

.sidr.right {
    left: auto;
    right: -260px;
}

.sidr.left {
    left: -260px;
    right: auto;
}

.sidr p {
    font-size: 13px;
    margin: 0 0 12px;
}

.sidr p a {
    color: #333 !important;
}

.sidr>p {
    margin-left: 15px;
    margin-right: 15px;
}

.sidr ul {
    display: block;
    margin: 0 0 25px;
    padding: 0;
}

.sidr ul li {
    display: block;
    margin: 0;
    line-height: 48px;
}

.sidr ul li:hover, .sidr ul li.active, .sidr ul li.sidr-class-active {
    border-top: none;
}

.sidr ul li a:hover {
    background: #f2f2f2;
}

.sidr ul li a, .sidr ul li span {
    padding: 0 10px;
    display: block;
    text-decoration: none;
    color: #333 !important;
    font-size: 14px;
    transition: var(--transition);
}

.sidr ul li ul {
    border-bottom: none;
    margin: 0;
}

.sidr ul li ul li {
    line-height: 40px;
    font-size: 13px;
}

.sidr ul li ul li:last-child {
    border-bottom: none;
}

.sidr ul li ul li:hover, .sidr ul li ul li.active, .sidr ul li ul li.sidr-class-active {
    border-top: none;
    line-height: 41px;
}

.sidr ul li ul li a, .sidr ul li ul li span {
    color: rgba(255,255,255,0.8);
    padding-left: 30px;
}

.sidr li.t_menu {
    margin-bottom: 15px;
    font-family: Roboto;
    font-size: 17.5px;
    background: url(/design/img/menu_header.png) 60% 70% no-repeat !important;
}

.sidr li.t_menu span {
    font-size: 18px !important;
    margin-left: 2px;
    color: #fff !important;
}

.sidr li.t_menu .l-m-i {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin: 10px;
    background: #000;
    transition: var(--transition);
}

.sidr li.t_menu .l-m-i:hover {
    background: url(/design/img/logo-hover.gif) 50% no-repeat;
    transform: scale(1.05);
}

.sidr li.t_menu .r-m-i {
    float: right;
    padding: 3px 15px;
}

.sidr li.t_menu .r-m-i:hover {
    background: transparent;
}

.sidr form {
    margin: 0 15px;
}

.sidr label {
    font-size: 13px;
}

div#sidr ul li {
    list-style: none;
}

.passEye {
    position: relative;
    display: inline-block;
}

.passEye input::-ms-reveal, .passEye input::-ms-clear {
    display: none;
}

.passEye .eye {
    position: absolute;
    right: 5px;
    top: 50%;
    margin-top: -10px;
    display: block;
    height: 10px;
    width: 18px;
    background: url(/design/img/eye.png) no-repeat left 2px;
    cursor: pointer;
}

.passEye .openEye {
    background-position: left bottom;
}

.switch {
    width: 100%;
    background: transparent;
    margin-bottom: 55px;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: var(--transition);
}

.switch:hover {
    background: #f2f2f2;
}

.l_e {
    width: 1px;
    padding-left: 8px;
}

.r_e {
    width: 1px;
    margin-right: 70px;
    margin-top: 4px;
}

.op {
    margin-top: 10px;
    position: absolute;
    left: 14px;
}

.sw {
    display: block;
}

.sw:not(:checked) + label + * {
    display: none;
}

input.sw {
    opacity: 0;
    position: absolute;
    left: -9999px;
}

input.sw + label {
    transition: .2s ease;
    display: inline-block;
    height: 15px;
    width: 50px;
    position: relative;
    box-shadow: inset 0 0 0px 2px #e4e4e4;
    border-radius: 60px;
    margin-top: 8px;
    background: #e4e4e4;
}

input.sw + label:before {
    content: "";
    position: absolute;
    display: block;
    height: 15px;
    width: 30px;
    top: 0;
    left: 0;
    border-radius: 15px;
    background: rgba(76, 217, 100, 0);
    transition: 0.2s cubic-bezier(0.24, 0, 0.5, 1);
}

input.sw + label:after {
    content: "";
    position: absolute;
    display: block;
    height: 25px;
    width: 25px;
    top: 50%;
    margin-top: -13px;
    left: 1px;
    border-radius: 60px;
    background: #fff;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1), 0 4px 0px 0 rgba(0, 0, 0, 0.04), 0 4px 9px rgba(0, 0, 0, 0.13), 0 3px 3px rgba(0, 0, 0, 0.05);
    transition: 0.35s cubic-bezier(0.54, 1.6, 0.5, 1);
}

input.sw + label span {
    white-space: nowrap;
    height: 30px;
    line-height: 30px;
    margin-left: 50px;
    padding-left: 16px;
}

input.sw:checked + label:before {
    width: 51px;
    background: var(--primary-color);
    transition: width 0.2s cubic-bezier(0, 0, 0, 0.1) !important;
}

input.sw:checked + label:after {
    left: 26px;
    background: var(--primary-hover);
}

input.sw:checked + label {
    box-shadow: inset 0 0 0px 25px #e4e4e4;
    transition: box-shadow 2.5s cubic-bezier(0, 1.2, 0.94, 0.95);
}

.jp-title {
    margin-left: 65px;
    font-size: 13px;
    color: #999;
}

.jp-no-solution {
    font-size: 12px;
    color: #999;
}

.jp-title ul {
    padding: 0;
    margin: 0;
    list-style: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.jp-gui {
    position: relative;
    background: transparent;
    overflow: hidden;
    margin-top: -18px;
}

.jp-jplayer, .jp-audio {
    width: 310px;
    height: 40px;
    margin: 0px auto;
    padding: 2px 0;
}

.jp-controls {
    padding: 0;
    margin: 0;
    list-style: none;
}

.jp-controls li {
    display: inline;
}

.jp-controls a {
    color: #333;
}

.jp-play, .jp-pause {
    width: 40px;
    height: 40px;
    margin-left: 10px;
    display: inline-block;
    text-align: center;
    line-height: 30px;
}

.jp-controls .jp-play:hover, .jp-controls .jp-pause:hover {
    background: transparent;
}

.jp-progress {
    background: #f2f2f2;
    position: absolute;
    right: 50px;
    top: 27.5px;
    width: 195px;
}

.jp-play-bar {
    height: 3px;
    background: var(--dark-bg);
    position: relative;
}

.jp-play-bar:after {
    content: "";
    position: absolute;
    display: block;
    height: 11px;
    width: 11px;
    margin-top: -4px;
    margin-left: -10.7px;
    left: 100%;
    border-radius: 60px;
    background: var(--dark-bg);
    cursor: pointer;
}

.jp-time-holder {
    color: #999;
    font-size: 12px;
    line-height: 14px;
    position: absolute;
    right: 15px;
    top: 22px;
}

.st_1 {
    margin-left: 20px;
    margin-bottom: 0;
    border-style: solid;
    border-color: transparent transparent #000 transparent;
    border-width: 0px 0px 10px 10px;
    height: 0px;
    width: 0px;
}

.st_2 {
    margin: 3px;
    margin-top: 0;
    border: #000 2px solid;
    padding: 5px;
    color: #000;
    background-color: #cde3e7;
    border-radius: 10px;
    word-wrap: break-word;
}

.center {
    text-align: center;
}

#loading-layer {
    display: none;
    font-size: 12px;
    background: var(--dark-bg);
    border: 1px solid var(--primary-color);
    padding: 10px;
    font-weight: 500;
    text-align: center;
    color: #fff;
    border-radius: 5px;
    box-shadow: var(--shadow-md);
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.9;
    }
}