/* admin-layout.css - 관리자 페이지 레이아웃을 위한 추가 스타일 */
.admin-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 800px;
    width: 100%;
    margin: 20px auto;
    position: relative;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.2);
    padding: 40px;
}

.admin-btn {
    width: 150px;
    height: 150px;
    margin: 15px;
    text-decoration: none;
    transition: transform 0.3s;
    background-color: #6b48ff;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5em;
    color: #fff;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.admin-btn:hover {
    transform: scale(1.1);
    background-color: #5a3de6;
}

#logout-btn {
    position: fixed;
    top: 10px;
    right: 10px;
    background-color: #e74c3c;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: auto;
}

#account-section, #student-account, #teacher-account, #parent-account,
#single-student, #bulk-student, #single-teacher, #bulk-teacher,
#single-parent, #bulk-parent, #album-section, #report-section,
#location-section, #toggle-section, #account-list-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: none;
}

#account-list {
    margin-top: 20px;
}

#account-list h3 {
    color: #6b48ff;
    margin: 10px 0;
}

#account-list div {
    margin-bottom: 20px;
}

#account-list table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

#account-list th, #account-list td {
    border: 1px solid #ddd;
    padding: 8px;
}

h2.section-title {
    color: #6b48ff;
    font-size: 1.8em;
    margin-bottom: 20px;
}

.btn-row {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 30px;
    gap: 20px;
}

.back-btn {
    background-color: #e74c3c;
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9em;
}

.create-btn {
    background-color: #2ecc71; /* 초록색 */
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.list-btn {
    background-color: #e67e22; /* 주황색 */
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

small, #single-parent p {
    color: #2ecc71;
    font-size: 0.9em;
}

@media (max-width: 768px) {
    .admin-btn {
        width: 120px;
        height: 120px;
        font-size: 1.2em;
        margin: 10px;
    }
    
    .modal-content {
        width: 95%;
        margin: 5% auto;
    }
    
    h1 {
        font-size: 1.8em;
    }
    
    h2 {
        font-size: 1.5em;
    }
}