body {
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f7f7f7;
    color: #222;
}
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 64px;
    background: linear-gradient(90deg, #ff8a00 0%, #e52e71 100%);
    display: flex;
    align-items: center;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.header-sign {
    font-size: 25px;
    font-weight: bold;
    color: #fff;
    margin-left: 32px;
    letter-spacing: 2px;
}
.menu {
    display: flex;
    flex: 1;
    justify-content: center;
    gap: 48px;
    margin-left: 48px;
}
.menu-item {
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 6px;
    transition: background 0.2s;
    position: relative;
}
.menu-item.active, .menu-item:hover {
    background: rgba(255,255,255,0.18);
}
.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    color: #222;
    min-width: 180px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    border-radius: 0 0 8px 8px;
    padding: 8px 0;
    display: none;
    flex-direction: column;
    z-index: 10;
}
.menu-item.show-submenu .submenu {
    display: flex;
}
.submenu-item {
    padding: 10px 24px;
    cursor: pointer;
    font-size: 15px;
    transition: background 0.2s;
}
.submenu-item:hover {
    background: #f0f0f0;
}
.main {
    margin-top: 64px;
    margin-bottom: 48px;
    min-height: calc(100vh - 112px);
    /* display: flex;*/ 
    /* align-items: center; */
    /* justify-content: center; */
}
.app-content {
    font-size: 30px;
    color: #444;
    /* text-align: center; */
}
.footer {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    height: 48px;
    display: flex;
    align-items: center;
    background: #dbdbdb;
    border-top: 1px solid #989898;
    font-size: 16px;
    z-index: 100;
}
.footer-left, .footer-right {
    width: 200px;
    text-align: center;
    color: #555;
}

.footer-right {
    text-align: left;
    padding-left: 10px;
}

.footer-center {
    flex: 1;
    text-align: center;
    color: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 16px;
    border-left: 1px solid #989898;
    border-right: 1px solid #989898;
    padding-left: 10px;
    padding-right: 10px;
}
.progress-bar {
    width: calc(100% - 150px);
    height: 16px;
    background: #eee;
    border-radius: 8px;
    overflow: hidden;
    display: inline-block;
    vertical-align: middle;
    margin: 0 8px;
}
.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #4caf50, #2196f3);
    transition: width 0.3s;
}

input,button {
    font-size: 30px;
    color: #444;
}
.collection-table {
    width:100%;
    /*table-layout: fixed;*/
    border-collapse: collapse;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    margin: 24px 0;
    font-size: 20px;
}
.collection-table th, .collection-table td {
    border: 1px solid #e0e0e0;
    padding: 8px 12px;
    text-align: left;
    vertical-align: middle;
}
.collection-table td.last {
    overflow-x: auto;
}

.collection-table th {
    background: #f5f5f5;
    font-weight: 600;
    position: relative;
}
.collection-table tr:nth-child(even) {
    background: #fafafa;
}
.collection-table tr:hover {
    background: #ffe0f0;
}
.collection-table input[type="text"] {
    display: block;
    width: 100%;
    margin-top: 6px;
    font-size: 20px;
    padding: 4px 6px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}
.collection-row-active  {
    background: #ff8a00 !important;
}

.help-container {
    max-width: 700px;
    margin: 32px auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    padding: 32px 40px;
    font-size: 25px;
    color: #333;
}
.help-container h2 {
    margin-top: 0;
    color: #e52e71;
    font-size: 30px;
    margin-bottom: 18px;
}
.help-container ul {
    padding-left: 22px;
    margin: 0;
}
.help-container li {
    margin-bottom: 16px;
    line-height: 1.6;
}
.help-container a {
    color: #e52e71;
    text-decoration: underline;
}
.help-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.help-list li {
    margin-bottom: 22px;
    padding-left: 0;
}
.help-key {
    font-weight: bold;
    color: #e52e71;
    font-size: 1.08em;
    margin-bottom: 2px;
    text-align: left;
}
.help-desc {
    margin-left: 0;
    color: #333;
    font-size: 1em;
    margin-top: 2px;
    text-align: left;
}
.settings-container {
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 400px;
    margin: 32px auto;
    padding: 24px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.settings-label {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 4px;
    color: #e52e71;
}
.settings-input {
    font-size: 20px;
    padding: 6px 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    margin-bottom: 8px;
    background: #fafafa;
    color: #444;
}
.settings-button {
    font-size: 20px;
    padding: 10px 24px;
    border-radius: 8px;
    background: linear-gradient(90deg, #ff8a00 0%, #e52e71 100%);
    color: #fff;
    border: none;
    cursor: pointer;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: background 0.2s;
}
.settings-button:hover {
    background: linear-gradient(90deg, #e52e71 0%, #ff8a00 100%);
}
.switch-container {
    display: flex;
    align-items: center;
    gap: 16px;
}
.switch-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    gap: 12px;
    position: relative;
}
.switch-input {
    width: 0;
    height: 0;
    opacity: 0;
    position: absolute;
}
.switch-slider {
    display: inline-block;
    width: 56px;
    height: 28px;
    background: linear-gradient(90deg, #ff8a00 0%, #e52e71 100%);
    border-radius: 14px;
    position: relative;
    transition: background 0.2s;
    margin-right: 12px;
}
.switch-knob {
    position: absolute;
    left: 2px;
    top: 2px;
    width: 24px;
    height: 24px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 1px 4px rgba(0,0,0,0.12);
    transition: left 0.2s;
}
.switch-input:checked + .switch-slider .switch-knob {
    left: 30px;
}
.switch-left-text {
    font-size: 15px;
    color: #e52e71;
}
.switch-right-text {
    font-size: 15px;
    color: #e52e71;
}
.switch-active-text {
    font-weight: bold;
}
.settings-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
    padding: 18px 0 0 0;
    border-radius: 8px;
}
.credentials-group {
    background: #f9f6ff;
    box-shadow: 0 1px 6px rgba(229,46,113,0.04);
    border: 1px solid #e52e71;
    padding: 18px 18px 18px 18px;
    margin-bottom: 24px;
}
.other-settings-group {
    background: #fff7f0;
    box-shadow: 0 1px 6px rgba(255,138,0,0.04);
    border: 1px solid #ff8a00;
    padding: 18px 18px 18px 18px;
}
.collection-controls {
    display: flex;
    flex-direction: row;
    gap: 18px;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 20px;
    padding-top:20px;
    padding-left:20px;
}

.clicker {
    display: flex;
    justify-content: space-between;
    border: 2px deeppink dashed;
    cursor:pointer;
}

.clicker_symbol {
    color: blue;
    padding-left: 10px;
}
.release-search-block {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: flex-start;
    margin: 18px 0 12px 0;
    justify-content: flex-start;
    padding: 8px 0 8px 0;
    border-bottom: 2px solid #e52e71;
    background: #fff7f0;
}
.search-row {
    display: flex;
    flex-direction: row;
    gap: 16px;
    margin-bottom: 0;
    align-items: center;
}
.release-results-section {
    margin: 0 0 24px 0;
    padding: 18px 0 18px 0;
    border-bottom: 2px solid #ff8a00;
    max-height: 30vh;
    overflow-y: auto;
    background: #f9f6ff;
}
.release-info-section {
    margin: 0 0 24px 0;
    padding: 18px 0 18px 0;
    background: #fff;
}
.release-results-table th, .release-results-table td {
    font-size: 18px;
    padding: 8px 10px;
}
.release-info-table th, .release-info-table td {
    font-size: 18px;
    padding: 8px 10px;
}
.release-result-row.active {
    background: #ffe0f0 !important;
}
.app-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(128,128,128,0.45);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
}
.app-overlay-gif {
    width: 80px;
    height: 80px;
}

.stars {
    font-size: 10px;;
}
.app-status-bar {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    min-width: 280px;
    max-width: 90vw;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 20px;
    font-weight: 500;
    z-index: 2000;
    box-shadow: 0 2px 12px rgba(0,0,0,0.12);
    background: #f5f5f5;
    color: #333;
    text-align: center;
    opacity: 0.98;
    pointer-events: none;
}
.app-status-bar.info {
    background: #e3f2fd;
    color: #1976d2;
    border: 1.5px solid #90caf9;
}
.app-status-bar.success {
    background: #e8f5e9;
    color: #388e3c;
    border: 1.5px solid #81c784;
}
.app-status-bar.warning {
    background: #fffde7;
    color: #fbc02d;
    border: 1.5px solid #ffe082;
}
.app-status-bar.error {
    background: #ffebee;
    color: #d32f2f;
    border: 1.5px solid #e57373;
}