/* 공통 스타일 */
body {
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #6AF5E8 0%, #A8F9F2 100%);
    min-height: 100vh;
    margin: 0;
}

.container {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    padding: 60px 80px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

h1 {
    color: #1AA89A;
    margin-bottom: 40px;
    font-size: 2.5em;
    line-height: 1.3;
}

/* 버튼 스타일 */
.button,
.submit-button,
.start-button,
.home-button {
    background-color: #7C3AED;
    color: white;
    padding: 20px 60px;
    font-size: 1.5em;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    font-weight: bold;
}

.button:hover,
.submit-button:hover,
.start-button:hover,
.home-button:hover {
    background-color: #6D28D9;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(124, 58, 237, 0.3);
}

/* 폼 스타일 */
.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    color: #1AA89A;
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 1.1em;
}

input,
select,
textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #DDD6FE;
    border-radius: 8px;
    font-size: 1em;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #7C3AED;
}

textarea {
    min-height: 100px;
    resize: vertical;
    font-family: Arial, sans-serif;
}

/* 관리자 페이지 스타일 */
.admin-container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th {
    background-color: #7C3AED;
    color: white;
    padding: 15px 10px;
    text-align: left;
    font-weight: bold;
}

td {
    padding: 12px 10px;
    border-bottom: 1px solid #EDE9FE;
}

tr:hover {
    background-color: #FAF5FF;
}

.view-link {
    color: #1AA89A;
    text-decoration: none;
    font-weight: bold;
}

.view-link:hover {
    text-decoration: underline;
}

/* AI 채점 관련 스타일 */
.ai-grade-button {
    background-color: #8B5CF6;
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    font-size: 0.9em;
    transition: all 0.3s ease;
}

.ai-grade-button:hover {
    background-color: #7C3AED;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.ai-grade-button:disabled {
    background-color: #BDC3C7;
    cursor: not-allowed;
    transform: none;
}

.ai-score-badge {
    display: inline-block;
    background-color: #8B5CF6;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9em;
}
