* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Malgun Gothic', '맑은 고딕', sans-serif;
    background-color: #f5f5f5;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

h1 {
    color: #333;
    margin-bottom: 30px;
    font-size: 28px;
}

.input-section {
    margin-bottom: 30px;
}

.input-section label {
    display: block;
    margin-bottom: 10px;
    color: #555;
    font-weight: 600;
}

.auth-section {
    margin-top: 20px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.auth-section label {
    display: block;
    margin-top: 15px;
    margin-bottom: 8px;
    color: #666;
    font-size: 13px;
    font-weight: 500;
}

.auth-section label:first-child {
    margin-top: 0;
}

.auth-section input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
}

.auth-section input:focus {
    outline: none;
    border-color: #ff6f0f;
}

#keyword-input {
    width: 100%;
    min-height: 120px;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    margin-bottom: 15px;
}

#keyword-input:focus {
    outline: none;
    border-color: #ff6f0f;
}

.button-group {
    display: flex;
    gap: 10px;
}

#search-btn, #bid-btn {
    flex: 1;
    background-color: #ff6f0f;
    color: #ffffff;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#search-btn:hover, #bid-btn:hover {
    background-color: #e55a00;
}

#search-btn:active, #bid-btn:active {
    transform: scale(0.98);
}

#bid-btn {
    background-color: #4a90e2;
}

#bid-btn:hover {
    background-color: #357abd;
}

.loading {
    text-align: center;
    padding: 20px;
    color: #666;
    font-size: 16px;
}

.result-section {
    margin-top: 30px;
}

.result-section h2 {
    color: #333;
    margin-bottom: 20px;
    font-size: 22px;
}

#result-table {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: #ffffff;
}

thead {
    background-color: #ff6f0f;
    color: #ffffff;
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

th {
    font-weight: 600;
}

tbody tr:hover {
    background-color: #f9f9f9;
}

.volume-high {
    color: #ff4444;
    font-weight: 600;
}

.volume-medium {
    color: #ff8800;
    font-weight: 600;
}

.volume-low {
    color: #666;
}

.error-section {
    margin-top: 20px;
    padding: 15px;
    background-color: #ffe6e6;
    border-left: 4px solid #ff4444;
    border-radius: 4px;
}

#error-message {
    color: #cc0000;
    margin: 0;
}

