@charset "UTF-8";
.converter-box { 
    background: #f8f9fa; 
    padding: 30px; 
    border-radius: 10px; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.1); 
    max-width: 900px;
    margin: -50px auto 24px;
}
.search-form {
    display: flex;
    margin-bottom: 30px;
    gap: 10px;
}
.search-input {
    flex: 1;
    padding: 14px 20px;
    font-size: 1.1rem;
    border: 2px solid #4a90e2;
    border-radius: 50px;
    outline: none;
    transition: border-color 0.3s;
}
.io-black-mode .search-input {
	color: #fff;
	background: #313435;
}
.search-input:focus {
    border-color: #357ae8;
    box-shadow: 0 0 0 3px rgba(52, 122, 232, 0.2);
}
.search-button {
    padding: 0 30px;
    background: #4a90e2;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.3s;
}
.search-button:hover {
    background: #357ae8;
}
.result-container {
    padding: 25px;
    background: #e9f7ef;
    border-radius: 10px;
    position: relative;
}
.io-black-mode .result-container{
	background: #202224;
}

.result-header {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #495057;
}
.result-header h3{
	font-size: 1.2rem;
}
.io-black-mode .result-header{
	color: #c6c9cf;
}
.result-value {
    font-size: 2.5rem;
    font-weight: bold;
    color: #218838;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
    min-width: 150px;
    text-align: center;
    padding: .75rem;
	margin: 15px 0;
    border-radius: 8px;
    background: rgba(33, 136, 56, 0.05);
}
.text-piliang{
	font-size: 1.25rem !important;
	font-weight: normal !important;
}
.text-danger{
	font-size: 1rem;
    line-height: 2.5rem;
    display: inline-block;
}
.table td, .table th{
	border-top: none !important;
	vertical-align: middle;
}
.chinese-amount {
    font-weight: bold;
    color: #6c757d;
    padding: 10px;
    background: #eefdf4;
    border-radius: 6px;
}
.io-black-mode .chinese-amount{
	background: #2c2e2f;
}
.error-message {
    color: #dc3545;
    padding: 15px;
    background: #fff3f3;
    border-radius: 8px;
    margin-top: 20px;
    border-left: 4px solid #dc3545;
}
.page-permalink {
    background: #f2f2f2;
    padding: 10px 15px;
    border-radius: 6px;
    font-family: monospace;
    word-break: break-all;
    margin-top: 20px;
}
.disclaimer {
	opacity: 0.5;
    font-size: 0.9rem;
}
.result-time {
    color: #6c757d;
    margin-top: 5px;
}

/* 格式切换按钮样式 */
.format-toggle {
    position: absolute;
    top: 15px;
    right: 15px;
    margin: 0 !important;
}

.toggle-btn {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.io-black-mode .toggle-btn{
	color: #6c757d;
	background: #2c2e2f;
	border: none;
}

.toggle-btn:hover {
    background: #e9ecef;
    border-color: #ced4da;
}

.io-black-mode .toggle-btn:hover{
	background: #2c2e2f;
	transform: translateY(-2px);
}

.copyable {
    cursor: pointer;
    position: relative;
    display: inline-block;
    transition: transform 0.2s;
}
.copyable:hover {
    transform: translateY(-2px);
}
.copyable::after {
    content: '点击复制';
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    opacity: 0;
    transition: opacity 0.3s;
}
.copyable:hover::after {
    opacity: 1;
}

/* 使用说明样式 */
.usage-instructions {
    background: #ffffff;
    border-radius: 10px;
    padding: 20px;
    margin-top: 30px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.io-black-mode .usage-instructions, .io-black-mode .input-container, .io-black-mode .results-container{
	background: #313435;
}

.io-black-mode .table{
	color: #fff;
}

.usage-title {
    font-size: 1.1rem;
    color: #4a90e2;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px dashed #e0e0e0;
    display: flex;
    align-items: center;
}

.usage-title:before {
    content: "ⓘ";
    margin-right: 8px;
    font-size: 1.2rem;
}

.usage-steps {
    counter-reset: step-counter;
    list-style-type: none;
    padding-left: 5px;
    margin: 0;
}

.usage-steps li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    line-height: 1.5;
    color: #555;
    counter-increment: step-counter;
}

.usage-steps li:before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    background-color: #f0f7ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    color: #4a90e2;
}

.io-black-mode .usage-steps li:before{
	background: #2c2e2f;
}

.url-example {
    background: #f8f9fa;
    border-left: 3px solid #4a90e2;
    padding: 12px 15px;
    margin: 15px 0;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    border-radius: 0 5px 5px 0;
}

.io-black-mode .url-example{
	background: #2c2e2f;
}

/* 流量指数样式 */
.result-value-container {
    display: flex;
    align-items: center;
    margin: 15px 0;
    gap: 10px;
}

.result-label {
    font-size: 1.2rem;
    color: #495057;
    font-weight: bold;
}

/* 批量指数转化样式 */
.batch-form .form-group {
    margin-bottom: 20px;
}

.radio-group {
    display: flex;
    gap: 20px;
    margin-top: 8px;
}

.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.radio-label input {
    margin-right: 6px;
}

.input-container {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.results-container {
    background: #fff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.result-table th {
    background: #4a90e2;
    color: white;
    font-weight: 500;
	border: 1px solid #fff !important;
}

.io-black-mode .result-table th{
	border: 1px solid #4a4b4d !important;
}

.result-summary {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px dashed #e0e0e0;
    font-size: 0.95rem;
    color: #6c757d;
    display: flex;
    justify-content: space-between;
}

.badge-success {
    background: #28a745;
    color: white;
}

.badge-danger {
    background: #dc3545;
    color: white;
}

.result-column {
    min-width: 180px;
}

.io-black-mode .btn{
	color: #c6c9cf;
}

@media (max-width: 768px) {
    .radio-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .result-header {
        flex-direction: column;
        align-items: flex-start !important;
    }
    
    .result-header h3 {
        margin-bottom: 15px;
    }
    
    .result-header div {
        margin-top: 10px;
    }
}