* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    font-family: Arial, sans-serif;
    padding: 10px 90px;
}

h1 {
    text-align: center;
    margin-bottom: 31px;
    color: #2e75cc;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.container {
    display: flex;
    justify-content: space-between;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.content-area {
    flex: 1;
    margin-right: 20px;
}

.input-area,
.output-area {
    margin-bottom: 20px;
}

.input-area h2,
.output-area h2,
.settings h2,
.operation-buttons h2 {
    margin-bottom: 10px;
    font-size: 18px;
}

textarea {
    width: 100%;
    min-height: 150px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    resize: vertical;
    background-color: rgba(255, 255, 255, 0.8);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.settings-area {
    width: 300px;
}

.settings,
.operation-buttons {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    background-color: rgba(247, 250, 252, 0.95);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
}

select,
input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

button {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: none;
    border-radius: 5px;
    color: white;
    cursor: pointer;
}




#btn_start {
    background-color: #38a169;
}

#btn_copy {
    background-color: #ed8936;
}

#btn_clear {
    background-color: #2e75cc;
}

#btn_clearNumber {
    background-color: #70839b;
}

/* 响应式设计 - 移动设备适配 */
@media (max-width: 768px) {
    body {
        padding: 10px 20px;
    }

    .container {
        flex-direction: column;
    }

    .content-area {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .settings-area {
        width: 100%;
        order: 2;
        /* 将设置区域移到下方 */
    }

    .input-area,
    .output-area {
        margin-bottom: 15px;
    }

    textarea {
        min-height: 120px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    .container {
        padding: 15px;
    }

    .settings,
    .operation-buttons {
        padding: 12px;
    }

    h1 {
        font-size: 24px;
        margin-bottom: 20px;
    }


}

.plus-container {
    float: right;
    position: relative;
    right: 0px;
    top: 30px;
    border: 2px solid #4CAF50;
    border-radius: 8px;
    padding: 4px 8px;
    background: linear-gradient(145deg, #f8fff9, #e0ffe3);
    box-shadow: 0 4px 6px rgba(76, 175, 80, 0.1);
    transition: all 0.3s ease;
}

.plus-container:hover {
    box-shadow: 0 6px 12px rgba(76, 175, 80, 0.2);
    transform: translateY(-5px);
}

.plus-icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 23px;
    height: 23px;
    opacity: 0.8;
    border-top-left-radius: 6px;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.1));
}

.plus-text {
    font-size: 18px;
    font-weight: 400;
    color: #2E7D32;
    font-family: 'Segoe UI', system-ui;
    text-decoration: none;
    letter-spacing: 0.7px;
}

@media (max-width: 768px) {
    .nav-tag {
        padding: 6px 12px;
    }

    .tag-text {
        font-size: 12px;
    }
}