body {
    background-color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    margin: 0;
}

.container {
    display: flex;
    width: 100%;
}

.login-card {
    width: 500px;
    height: 439px;
    background-color: #EDF2FF;
    border: 2px solid #B2BFFF;
    border-radius: 32px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.profile-icon {
    width: 80px;
    height: 80px;
    background-color: #D9E0FF;
    border-radius: 50%;
    position: absolute;
    top: 30px;
    left: 210px;
}

.login-title {
    width: 192px;
    height: 34px;
    font-weight: 700;
    font-size: 28px;
    color: #4D4DB2;
    text-align: center;
    position: absolute;
    top: 130px;
    left: 150px;
}

.input-label {
    font-weight: 400;
    font-size: 16px;
    color: #33334D;
    position: absolute;
}

#id-label {
    top: 190px;
    left: 80px;
}

#password-label {
    top: 250px;
    left: 80px;
}

.input-field {
    width: 260px;
    height: 36px;
    background-color: #F7FAFF;
    border-radius: 18px;
    border: 1px solid #B2BFFF;
    position: absolute;
    left: 160px;
    padding: 0 10px;
}

#username {
    top: 180px;
}

#password {
    top: 240px;
}

.login-button {
    width: 260px;
    height: 48px;
    background-color: #7373D9;
    border-radius: 24px;
    position: absolute;
    top: 320px;
    left: 120px;
    cursor: pointer;
    border: none;
    font-weight: 700;
    font-size: 20px;
    color: #FFFFFF;
    line-height: 48px;
    text-align: center;
}

.sidebar {
    width: 240px;
    background-color: #F2F5FA;
    padding: 40px 0 40px 40px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    border-right: none;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    overflow-y: auto;
    box-sizing: border-box;
}

.menu-group {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 0;
}

.menu-title {
    font-size: 18px;
    font-weight: 600;
    color: #4D4D66;
    margin-bottom: 12px;
    text-transform: none;
    letter-spacing: normal;
    font-family: 'Inter', sans-serif;
}

.menu-title.active {
    color: #4D4D66;
}

.menu-item {
    padding: 8px 0 8px 20px;
    border-radius: 0;
    font-size: 16px;
    font-weight: 400;
    color: #666680;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
}

.menu-item:hover {
    background-color: transparent;
    color: #666680;
}

.menu-item.active {
    background-color: transparent;
    color: #3366CC;
    font-weight: 400;
}

.logout-btn {
    margin-top: auto;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 400;
    color: #dc3545;
    text-decoration: none;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid #dc3545;
    background-color: transparent;
    cursor: pointer;
}

.logout-btn:hover {
    background-color: #dc3545;
    color: #fff;
}

.content-area {
    margin-left: 240px; /* 사이드바 너비만큼 왼쪽 여백 추가 */
    padding: 40px 50px;
    min-height: 100vh;
    background-color: #ffffff;
    box-sizing: border-box;
}

.graph-area {
    width: 100%;
    height: 400px;
    background-color: #D9D9D9;
    margin-bottom: 30px;
    border-radius: 10px;
}

.card-container {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.card {
    flex: 1;
    height: 150px;
    background-color: #D9D9D9;
    border-radius: 10px;
}

/* Page Title */
.page-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 29px;
    color: #1A1A33;
    margin: 40px 0 24px 50px;
}

/* Search Area */
.search-area {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding: 0;
    background-color: transparent;
    border: none;
    box-shadow: none;
    margin: 0 0 24px 50px;
    width: 1100px;
    height: 40px;
}

.search-select select,
.search-input input,
.search-date input {
    padding: 8px 12px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    height: 36px;
    box-sizing: border-box;
}

.search-select select {
    width: 120px;
    background-color: #F2F2F2;
    color: #4D4D66;
}

.search-input input {
    width: 200px;
    background-color: #FFFFFF;
    border: 1px solid #E0E0E0 !important;
    color: #666680;
}

.search-date input {
    width: 150px;
    background-color: #FFFFFF;
    border: 1px solid #E0E0E0 !important;
    color: #666680;
}

.search-input input::placeholder {
    color: #9E9EAE;
}

.search-input input:focus,
.search-date input:focus {
    outline: none;
    border-color: #3366CC !important;
    background-color: #FFFFFF;
}

.search-date {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.search-date label {
    font-size: 12px;
    color: #4D4D66;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
}

.search-button,
.btn-search {
    width: 80px;
    height: 36px;
    padding: 8px 16px;
    background-color: #3366CC;
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
}

.search-button:hover,
.btn-search:hover {
    background-color: #2952a3;
}

.btn-register {
    width: 120px;
    height: 36px;
    padding: 8px 16px;
    background-color: #63C363;
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
}

.btn-register:hover {
    background-color: #4da64d;
}

/* List Area */
.list-area {
    background-color: #ffffff;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin: 0 50px;
}

.list-header {
    display: grid;
    grid-template-columns: 80px 1fr 1fr 1fr 1fr 120px 100px;
    gap: 16px;
    padding: 16px 20px;
    background-color: #F7F7F7;
    border-bottom: none;
    font-weight: 700; /* bolder 적용 */
    color: #4D4D66;
    font-size: 15px; /* 15px로 조정 */
    font-family: 'Inter', sans-serif;
    text-align: center;
}

.list-body {
    background-color: white;
    min-height: 400px;
}

.list-item {
    display: grid;
    grid-template-columns: 80px 1fr 1fr 1fr 1fr 120px 100px;
    gap: 16px;
    padding: 16px 20px;
    border-bottom: 1px solid #F0F0F0;
    align-items: center;
    font-family: 'Inter', sans-serif;
    font-size: 15px; /* 15px로 조정 */
    color: #4D4D66;
    text-align: center;
}

.event-title-link {
    color: #2563EB;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
}

.event-title-link:hover {
    color: #1D4ED8;
    text-decoration: underline;
}

.status-text {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    margin-right: 8px;
}

.status-active {
    background-color: #DCFCE7;
    color: #166534;
}

.status-inactive {
    background-color: #FEF3C7;
    color: #92400E;
}

.list-item:nth-child(odd) {
    background-color: #FFFFFF;
}

.list-item:nth-child(even) {
    background-color: #FAFAFA;
}

.list-item:hover {
    background-color: #F5F5F5;
}

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

.cell {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px; /* 15px로 조정 */
    color: #4D4D66;
    line-height: 1.4;
    font-family: 'Inter', sans-serif;
}

/* Status Text */
.status-text {
    font-size: 14px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    text-align: center;
}

.status-text.active {
    color: #63C363;
}

.status-text.inactive {
    color: #3366CC;
}

.btn-detail:hover {
    opacity: 0.9;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    padding: 20px;
    margin: 32px 0;
}

.pagination-btn {
    padding: 8px 12px;
    border: none;
    background-color: #F2F2F2;
    color: #4D4D66;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination-btn:hover {
    background-color: #3366CC;
    color: #FFFFFF;
}

.pagination-btn:disabled {
    background-color: #F2F2F2;
    color: #9E9EAE;
    cursor: not-allowed;
}

.pagination-btn.active {
    background-color: #3366CC;
    color: #FFFFFF;
}

/* Form Styles */
.form-area {
    margin: 40px 50px;
    background-color: #ffffff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-left: 50px;
}

.form-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 28px;
    line-height: 34px;
    color: #1A1A33;
    margin: 0 0 40px 50px;
}

.form-group {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 16px;
    align-items: center;
    margin-bottom: 24px;
}

.form-group label {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #33334D;
    text-align: right;
}

.form-input {
    padding: 8px 16px;
    border: 1px solid #3366CC;
    border-radius: 18px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    background-color: #F7FAFF;
    color: #666680;
    height: 36px;
    box-sizing: border-box;
    width:500px;
}

.form-input:focus {
    outline: none;
    border-color: #3366CC;
    background-color: #FFFFFF;
}

.form-textarea {
    padding: 12px 16px;
    border: 1px solid #3366CC;
    border-radius: 18px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    background-color: #F7FAFF;
    color: #666680;
    resize: vertical;
    min-height: 120px;
    box-sizing: border-box;
}

.form-select {
    padding: 8px 16px;
    border: 1px solid #3366CC;
    border-radius: 18px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    background-color: #F7FAFF;
    color: #666680;
    height: 36px;
    box-sizing: border-box;
    /* 커스텀 화살표 스타일 */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23666680'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 16px;
    padding-right: 32px;
}

.btn-area {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    padding: 20px 0;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 30px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background-color: #3366CC;
}

input:checked + .toggle-slider:before {
    transform: translateX(30px);
}

.btn-save {
    width: 120px;
    height: 40px;
    padding: 8px 16px;
    background-color: #3366CC;
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
}

.btn-save:hover {
    background-color: #2952a3;
}

.btn-cancel {
    width: 120px;
    height: 40px;
    padding: 8px 16px;
    background-color: #808080;
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
}

.btn-cancel:hover {
    background-color: #666666;
}

/* Empty message styles */
.empty-message {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    text-align: center;
}

.empty-content {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #666680;
    padding: 40px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

/* Event List Specific Styles */
.search-area {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 50px;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.search-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-select {
    padding: 8px 16px;
    border: 1px solid #D1D1E0;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    color: #666680;
    height: 40px;
    min-width: 120px;
}

.search-input {
    padding: 8px 16px;
    border: 1px solid #D1D1E0;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    background-color: #FFFFFF;
    color: #666680;
    height: 40px;
    min-width: 250px;
}

.search-input::placeholder {
    color: #9E9EAE;
}

.btn-search {
    padding: 8px 16px;
    background-color: #3366CC;
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    height: 40px;
    min-width: 80px;
}

.btn-search:hover {
    background-color: #2952a3;
}

.btn-primary {
    padding: 8px 16px;
    background-color: #63C363;
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    height: 40px;
    min-width: 120px;
}

.btn-primary:hover {
    background-color: #52a352;
}

/* Status badges */
.status-text.active {
    background-color: #E8F5E8;
    color: #63C363;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.status-text.inactive {
    background-color: #FFF0F0;
    color: #FF6B6B;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.status-text.completed {
    background-color: #E6F3FF;
    color: #3366CC;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

/* Detail button */
.btn-detail {
    padding: 6px 12px;
    background-color: #3366CC;
    color: #FFFFFF;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    min-width: 80px;
}

.btn-detail:hover {
    background-color: #2952a3;
}

/* Pagination controls */
.pagination-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.page-btn {
    padding: 8px 12px;
    border: none;
    background-color: #F2F2F2;
    color: #4D4D66;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-btn:hover:not(.disabled) {
    background-color: #3366CC;
    color: #FFFFFF;
}

.page-btn.disabled {
    background-color: #F2F2F2;
    color: #9E9EAE;
    cursor: not-allowed;
}

.page-btn.active {
    background-color: #3366CC;
    color: #FFFFFF;
}

/* Readonly select styles */
.readonly-select {
    background-color: #f5f5f5 !important;
    color: #999 !important;
    border-color: #ddd !important;
    cursor: not-allowed !important;
}

.readonly-select:focus {
    outline: none !important;
    box-shadow: none !important;
}
