@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;700&display=swap');

/* General Body Styles */
body {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.7;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    color: #212529;
    font-size: 16px;
}

.container {
    width: 85%;
    max-width: 1100px;
    margin: auto;
    overflow: hidden;
    padding: 0 20px;
}

/* Header */
header {
    background: linear-gradient(90deg, #4e54c8, #8f94fb);
    color: #fff;
    padding: 1.5rem 0;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

header h1 {
    margin: 0;
    font-size: 2.2rem;
    font-weight: 700;
}

header nav {
    margin-top: 15px;
}

header nav a {
    color: #fff;
    text-decoration: none;
    margin: 0 18px;
    font-size: 1.1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

header nav a:hover {
    color: #e9ecef;
    text-decoration: none;
}

/* Welcome Message */
#welcome-message {
    text-align: center;
    font-size: 1.6rem;
    color: #343a40;
    margin-bottom: 25px;
    font-weight: 500;
}

/* Dashboard */
.dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.dashboard-item {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dashboard-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
}

.dashboard-item h3 {
    margin-top: 0;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 10px;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.dashboard-item ul {
    list-style: none;
    padding: 0;
}

.dashboard-item li {
    padding: 10px 5px;
    border-bottom: 1px solid #f1f3f5;
}

.dashboard-item li:last-child {
    border-bottom: none;
}

/* Main Content & Forms */
main {
    padding: 30px 0;
}

main h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2rem;
    color: #343a40;
    font-weight: 700;
}

.form-container {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    max-width: 750px;
    margin: 20px auto;
}

.form-container h3 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 1.5rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ced4da;
    border-radius: 5px;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #8f94fb;
    box-shadow: 0 0 0 0.2rem rgba(78, 84, 200, 0.25);
    outline: none;
}

.form-group input[type="file"] {
    padding: 3px;
}

.form-group small {
    color: #6c757d;
    font-size: 0.9rem;
}

.btn {
    display: inline-block;
    background: #4e54c8;
    color: #fff;
    padding: 12px 25px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 500;
    width: 100%;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn:hover {
    background: #3c42a3;
    transform: translateY(-2px);
}

.form-switch {
    text-align: center;
    margin-top: 25px;
}

.form-switch a {
    color: #4e54c8;
    text-decoration: none;
    font-weight: 500;
}

.form-switch a:hover {
    text-decoration: underline;
}

/* Content Lists (Lesson Plans, Proposals) */
.content-list-container {
    background: #ffffff;
    padding: 30px 40px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.07);
    max-width: 800px;
    margin: 40px auto;
}

.content-list-container h3 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 1.6rem;
}

.content-list-container ul {
    list-style: none;
    padding: 0;
}

.content-list-container li {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 18px;
    border-left: 5px solid #8f94fb;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-list-container li:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.08);
}

.content-list-container li h4 {
    margin: 0 0 10px 0;
    color: #495057;
    font-size: 1.25rem;
}

.content-list-container li p {
    margin: 0 0 12px 0;
    color: #495057;
}

.content-list-container li small {
    color: #6c757d;
    font-style: normal;
    font-weight: 500;
}


/* Footer */
footer {
    text-align: center;
    padding: 25px;
    margin-top: 30px;
    background: #343a40;
    color: #e9ecef;
}
