/* Reset */
body, html {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

/* Page Container */
.page-container {
    display: flex;
    min-height: 100vh;
    background-color: #1e1e2f; /* Dark background */
    color: #fff; /* White text */
}

/* Sidebar */
.sidebar {
    width: 250px;
    background-color: #2b2b3b;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.sidebar-header {
    margin-bottom: 20px;
    text-align: center;
}

.sidebar-header .brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
}

.nav-list {
    list-style: none;
    padding: 0;
}

.nav-list li {
    margin: 15px 0;
}

.nav-list a {
    text-decoration: none;
    color: #bbb;
    display: block;
    padding: 10px;
    border-radius: 4px;
    transition: background-color 0.3s, color 0.3s;
}

.nav-list a:hover, .nav-list a.active {
    background-color: #4c4c6d;
    color: #fff;
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    background-color: #1e1e2f;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center; /* 세로 중앙 정렬 */
    padding: 10px 20px;
    background-color: #333;
    color: #fff;
    border-bottom: 1px solid #444;
    height: 70px; /* 헤더 높이 설정 */
}

.header .header-left h1 {
    margin: 0;
    font-size: 1.5rem;
}

.header .header-right {
    display: flex;
    align-items: center;
}

.header .user-info {
    margin-right: 15px;
    font-size: 1.1rem;
}

/* 버튼 스타일 조정 */
.header .btn {
    display: flex;
    align-items: center; /* 텍스트를 세로 중앙 정렬 */
    justify-content: center; /* 텍스트를 가로 중앙 정렬 */
    height: 38px; /* 버튼 높이 */
    padding: 0 20px; /* 버튼 내부 여백 */
    font-size: 16px; /* 텍스트 크기 */
    border-radius: 5px; /* 버튼의 둥근 모서리 */
    line-height: normal; /* 텍스트의 세로 정렬 문제 해결 */
}

.header .btn + .btn {
    margin-left: 10px; /* 버튼 사이의 간격 */
}

/* Content Area */
.content {
    padding: 20px;
    background-color: #1e1e2f;
    flex: 1;
}

/* Buttons */
.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

.btn-primary-point {
    background-color: #FFDD00FF !important;
    border-color: #FFDD00FF;
}

.btn-outline-light {
    border-color: #ccc;
    color: #ccc;
}

.btn-outline-light:hover {
    border-color: #fff;
    color: #fff;
}

/* 폼을 감싸는 래퍼 컨테이너 */
.form-wrapper {
    display: flex;
    justify-content: center; /* 가로 중앙 정렬 */
    align-items: center; /* 세로 중앙 정렬 */
    min-height: calc(100vh - 100px); /* 화면 전체 높이에서 헤더/푸터를 제외한 영역 */
}

/* 회원가입 폼 스타일 */
.form-container-register {
    background-color: #2b2b3b;
    padding: 45px;
    border-radius: 8px;
    width: 100%;
    max-width: 500px; /* 폼의 최대 너비 설정 */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
    text-align: left;
}
/* 로그인 폼 스타일 */
.form-container-login {
    background-color: #2b2b3b;
    padding: 20px;
    border-radius: 8px;
    width: 100%;
    max-width: 400px; /* 폼의 최대 너비 설정 */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
    text-align: left;
}

/* 설명 문구 스타일 */
.form-text {
    color: #fff !important;/* 흰색 텍스트 */
    font-size: 0.85rem;
    margin-top: 10px !important;
}


/* ================= 사이드 메뉴 뱃지 애니메이션 ===================*/
/* HOT 스타일 */
.hot-badge {
    font-size: 14px; /* HOT 크기를 작게 설정 */
    font-weight: bold;
    color: red;
    margin-left: 8px; /* 메뉴명과 간격 추가 */
    position: relative; /* 위치 조정을 위해 relative 추가 */
    top: -5px; /* 텍스트보다 위로 이동 */
    display: inline-block; /* HOT을 인라인 블록으로 유지 */
    animation: blink 1s infinite; /* 깜빡이는 애니메이션 */
}

/* NEW 스타일 */
.new-badge {
    font-size: 14px; /* NEW 크기를 작게 설정 */
    font-weight: bold;
    color: #28a745; /* 밝은 초록색 */
    margin-left: 8px; /* 메뉴명과 간격 추가 */
    position: relative; /* 위치 조정을 위해 relative 추가 */
    top: -5px; /* 텍스트보다 위로 이동 */
    display: inline-block; /* NEW을 인라인 블록으로 유지 */
    animation: blink 1s infinite; /* 깜빡이는 애니메이션 */
}

/* BETA 스타일 */
.beta-badge {
    font-size: 14px; /* NEW 크기를 작게 설정 */
    font-weight: bold;
    color: #007bff; /* 밝은 초록색 */
    margin-left: 8px; /* 메뉴명과 간격 추가 */
    position: relative; /* 위치 조정을 위해 relative 추가 */
    top: -5px; /* 텍스트보다 위로 이동 */
    display: inline-block; /* NEW을 인라인 블록으로 유지 */
    animation: blink 1s infinite; /* 깜빡이는 애니메이션 */
}

/* EVENT 스타일 */
.event-badge {
    font-size: 14px; /* NEW 크기를 작게 설정 */
    font-weight: bold;
    color: yellow; /* 밝은 초록색 */
    margin-left: 8px; /* 메뉴명과 간격 추가 */
    position: relative; /* 위치 조정을 위해 relative 추가 */
    top: -5px; /* 텍스트보다 위로 이동 */
    display: inline-block; /* NEW을 인라인 블록으로 유지 */
    animation: blink 1s infinite; /* 깜빡이는 애니메이션 */
}

/* 깜빡이는 애니메이션 정의 */
@keyframes blink {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.footer {
    background-color: #333;
    color: #ffffff; /* 흰색 텍스트 */
    text-align: center;
    padding: 50px 0; /* 상하 여백 추가 */
    margin-top: auto; /* 페이지 하단 고정 */
}

.footer a {
    color: #4caf50; /* 초록색 강조 */
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.create-advertiser-account-btn {
    display: inline-block;
    padding: 10px 15px;
    font-size: 14px;
    font-weight: bold;
    color: #ffffff !important;
    background-color: #28a745; /* 녹색 배경 */
    border: none;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.create-advertiser-account-btn:hover {
    background-color: #218838; /* 호버 시 더 진한 녹색 */
    text-decoration: none;
    color: #ffffff;
}

.create-agency-account-btn {
    display: inline-block;
    padding: 10px 15px;
    font-size: 14px;
    font-weight: bold;
    color: #ffffff !important;
    background-color: #28a745; /* 녹색 배경 */
    border: none;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.create-agency-account-btn:hover {
    background-color: #218838; /* 호버 시 더 진한 녹색 */
    text-decoration: none;
    color: #ffffff;
}

.add-slot-btn {
    display: inline-block;
    padding: 10px 15px;
    font-size: 14px;
    font-weight: bold;
    color: #ffffff !important;
    background-color: #007bff; /* 녹색 배경 */
    border: none;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.add-slot-btn:hover {
    background-color: #0056b3; /* 호버 시 더 진한 녹색 */
    text-decoration: none;
    color: #ffffff;
}

.modal-content {
    background-color: white !important; /* 배경을 흰색으로 */
    color: black !important; /* 글씨를 검은색으로 */
}

.modal-content .form-label,
.modal-content input {
    color: black !important;  /* 입력 필드와 버튼 내부 글씨도 검은색 */

}
/* 기본 테두리 색상 */
.modal-content input {
    border: 1px solid #333; /* 어두운 회색 테두리 */
}

.modal-content button {
    color: white !important;  /* 입력 필드와 버튼 내부 글씨도 검은색 */
}
