:root {
    --primary-blue: #4460f1;
    --bg-color: #f5f7fa;
    --text-color: #333;
    --card-bg: #fff;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--bg-color);
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    color: var(--text-color);
}

.container {
    background: var(--card-bg);
    width: 100%;
    max-width: 600px;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

h1 {
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 5px;
    font-size: 28px;
}

.subtitle {
    text-align: center;
    color: #888;
    font-size: 14px;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.notice-box {
    background: #eef6ff;
    border-left: 5px solid var(--primary-blue);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    font-size: 14px;
    line-height: 1.6;
}

.notice-title {
    font-weight: bold;
    color: var(--primary-blue);
    margin-bottom: 10px;
    font-size: 16px;
}

.highlight-red {
    color: #e74c3c;
    font-weight: bold;
    cursor: pointer;
    text-decoration: underline;
}

.highlight-yellow {
    background-color: #f1c40f;
    padding: 0 4px;
    border-radius: 2px;
}

.red-bang {
    color: red;
    font-weight: bold;
    font-size: 16px;
}

.buttons-row {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.btn-secondary {
    flex: 1;
    padding: 15px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 12px;
    font-size: 16px;
    font-weight: bold;
    color: #555;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-secondary:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: bold;
    color: #999;
    font-size: 12px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.input-wrapper {
    position: relative;
    background: #f8f9fb;
    border-radius: 12px;
    padding: 5px;
}

.input-wrapper .icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #aaa;
}

.input-wrapper input {
    width: 100%;
    border: none;
    background: transparent;
    padding: 15px 15px 15px 50px;
    font-size: 16px;
    box-sizing: border-box;
    outline: none;
    color: #333;
}

.btn-primary {
    width: 100%;
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 18px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(68, 96, 241, 0.3);
    transition: transform 0.1s;
}

.btn-primary:active {
    transform: scale(0.98);
}

.btn-primary:disabled {
    background: #aab7f5;
    cursor: not-allowed;
}

.log-area {
    margin-top: 30px;
    border-top: 2px dashed #eee;
    padding-top: 20px;
}

.log-title {
    font-weight: bold;
    margin-bottom: 10px;
    color: #555;
}

#logContent {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 15px;
    border-radius: 8px;
    font-family: monospace;
    height: 150px;
    overflow-y: auto;
    font-size: 13px;
}

.log-line {
    margin-bottom: 4px;
    border-bottom: 1px solid #34495e;
    padding-bottom: 2px;
}

.log-line.error {
    color: #e74c3c;
}
