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

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: #f0f2f5;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

#container {

    width: 100vw;
    max-width:1600px;
    height: 500px;

    border-radius: 10px;
    box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    border: 2px solid white;
    transition: all 0.2s;
}
#areaSelect{
      font-size: 0.9rem;
      font-weight: 300;
       width: 80 px
}

#codeInput{
      font-size: 1.0rem;
      font-weight: 300;
      width: 80px;
}

#message { color: red; font-size: 18px; }

/* #displayBtn{
      background: green;
      font-size: 0.8rem;
      font-weight: 200;
      color: white;
} */

.input-wrapper {
    margin-top: 10px;
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    background: #ffffff;
    padding: 8px 8px;
    border-radius: 16px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.input-wrapper label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #2d3748;
    font-weight: 500;
}

.input-wrapper input[type="text"],
.input-wrapper select{
    padding: 8px 14px;
    font-size: 1.0rem;
    border: 2px solid #cbd5e0;
    border-radius: 10px;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
    width: 90px;
}
/* select 单独微调：去掉系统默认箭头样式差异 */
.input-wrapper select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    /* 自定义下拉箭头 */
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a5568' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
    padding-right: 24px;   /* 给箭头留位置 */
}
/* .input-wrapper{
    font-size: 0.8rem;
    font-weight: 400;  
} */

.btn-wrapper {
    margin-top: 10px;
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.custom-btn {
    padding: 12px 38px;
    font-size: 1.1rem;
    font-weight: 400;
    border: none;
    border-radius: 60px;
    cursor: pointer;
    letter-spacing: 0.8px;
    transition: 0.15s ease;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
    background-color: #e63946;   /* 默认红色 */
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.custom-btn:hover {
    filter: brightness(1.1);
    transform: scale(1.02);
    box-shadow: 0 12px 22px rgba(0, 0, 0, 0.2);
}

.custom-btn:active {
    transform: scale(0.98);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}


