@charset "UTF-8";

/* ========================================
   Pages Styles
   ======================================== */

/* ========================================
   Main Page Styles
   ======================================== */
.main-hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.main-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/sec1_center.webp') center center no-repeat;
  background-size: cover;
  opacity: 0.1;
  z-index: 0;
}

.main-hero .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  text-align: center;
  color: #fff;
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 20px;
  margin-bottom: 40px;
  opacity: 0.9;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.main-features {
  padding: 80px 0;
  background: #f8f9fa;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.feature-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #667eea, #764ba2);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 32px;
}

.feature-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #333;
}

.feature-description {
  color: #666;
  line-height: 1.6;
  font-size: 16px;
}

/* ========================================
   Login Page Styles
   ======================================== */
.login-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.login-container {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  padding: 40px;
  width: 100%;
  max-width: 400px;
}

.login-header {
  text-align: center;
  margin-bottom: 30px;
}

.login-logo {
  width: 120px;
  height: auto;
  margin-bottom: 20px;
}

.login-title {
  font-size: 28px;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
}

.login-subtitle {
  color: #666;
  font-size: 16px;
}

/* ========================================
   Send Message Page Styles
   ======================================== */
.send-page {
  padding: 30px 0;
  background: #f8f9fa;
  min-height: calc(100vh - 80px);
}

.send-page-header {
  margin-bottom: 30px;
}

.send-page-title {
  font-size: 28px;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
}

.send-page-subtitle {
  color: #666;
  font-size: 16px;
}

/* ========================================
   Admin Page Styles
   ======================================== */
.admin-page {
  padding: 30px 0;
  background: #f8f9fa;
  min-height: calc(100vh - 80px);
}

.admin-header {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.admin-title {
  font-size: 28px;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
}

.admin-subtitle {
  color: #666;
  font-size: 16px;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.admin-stat-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border-left: 4px solid #667eea;
}

.admin-stat-title {
  font-size: 14px;
  color: #666;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.admin-stat-value {
  font-size: 32px;
  font-weight: 700;
  color: #333;
  margin-bottom: 4px;
}

.admin-stat-change {
  font-size: 14px;
  color: #28a745;
}

.admin-stat-change.negative {
  color: #dc3545;
}

/* ========================================
   Member Management Page Styles
   ======================================== */
.member-management {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

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

.member-table th,
.member-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #e9ecef;
}

.member-table th {
  background: #f8f9fa;
  font-weight: 600;
  color: #333;
}

.member-table tr:hover {
  background: #f8f9fa;
}

.member-status {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.member-status.active {
  background: #d4edda;
  color: #155724;
}

.member-status.inactive {
  background: #f8d7da;
  color: #721c24;
}

/* ========================================
   Message Management Page Styles
   ======================================== */
.message-management {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.message-filters {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.message-filter {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.message-filter label {
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

.message-filter select,
.message-filter input {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
}

.message-table {
  width: 100%;
  border-collapse: collapse;
}

.message-table th,
.message-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #e9ecef;
}

.message-table th {
  background: #f8f9fa;
  font-weight: 600;
  color: #333;
}

.message-table tr:hover {
  background: #f8f9fa;
}

.message-type {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.message-type.sms {
  background: #d1ecf1;
  color: #0c5460;
}

.message-type.lms {
  background: #fff3cd;
  color: #856404;
}

.message-type.mms {
  background: #f3e5f5;
  color: #7b1fa2;
}

/* ========================================
   Charge Management Page Styles
   ======================================== */
.charge-management {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.charge-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.charge-plan {
  border: 2px solid #e9ecef;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}

.charge-plan:hover {
  border-color: #667eea;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.charge-plan.featured {
  border-color: #667eea;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
}

.charge-plan-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
}

.charge-plan-price {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
}

.charge-plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}

.charge-plan-features li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.charge-plan-features li:last-child {
  border-bottom: none;
}

.charge-plan-btn {
  width: 100%;
  padding: 12px 24px;
  background: #667eea;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.charge-plan-btn:hover {
  background: #5a6fd8;
}

/* ========================================
   Statistics Page Styles
   ======================================== */
.statistics-page {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.statistics-filters {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.statistics-filter {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.statistics-filter label {
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

.statistics-filter select,
.statistics-filter input {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
}

.statistics-chart {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 30px;
  margin-top: 30px;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-size: 18px;
}

/* ========================================
   Guide Page Styles
   ======================================== */
.guide-page {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.guide-content {
  max-width: 800px;
  margin: 0 auto;
}

.guide-section {
  margin-bottom: 40px;
}

.guide-section:last-child {
  margin-bottom: 0;
}

.guide-section h2 {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e9ecef;
}

.guide-section h3 {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
}

.guide-section p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 15px;
}

.guide-section ul,
.guide-section ol {
  color: #666;
  line-height: 1.6;
  margin-bottom: 15px;
  padding-left: 20px;
}

.guide-section li {
  margin-bottom: 8px;
}

.guide-code {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 6px;
  padding: 15px;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  color: #333;
  margin: 15px 0;
  overflow-x: auto;
}

.guide-note {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 6px;
  padding: 15px;
  margin: 15px 0;
  color: #856404;
}

.guide-warning {
  background: #f8d7da;
  border: 1px solid #f5c6cb;
  border-radius: 6px;
  padding: 15px;
  margin: 15px 0;
  color: #721c24;
}

/* ========================================
   Profile Page Styles
   ======================================== */
.profile-page {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e9ecef;
}

.profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #667eea;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 32px;
  font-weight: 700;
}

.profile-info h2 {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin-bottom: 5px;
}

.profile-info p {
  color: #666;
  font-size: 16px;
}

.profile-form {
  max-width: 600px;
}

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

.profile-form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.profile-form-group input,
.profile-form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.profile-form-group input:focus,
.profile-form-group select:focus {
  outline: none;
  border-color: #667eea;
}

.profile-form-actions {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.profile-btn {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.profile-btn-primary {
  background: #667eea;
  color: #fff;
}

.profile-btn-primary:hover {
  background: #5a6fd8;
}

.profile-btn-secondary {
  background: #6c757d;
  color: #fff;
}

.profile-btn-secondary:hover {
  background: #545b62;
}

/* ========================================
   Notice Page Styles
   ======================================== */
.notice-page {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.notice-list-page {
  margin-bottom: 30px;
}

.notice-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.notice-item:hover {
  border-color: #667eea;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.notice-item-content {
  flex: 1;
}

.notice-item-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
}

.notice-item-meta {
  font-size: 14px;
  color: #666;
}

.notice-item-date {
  font-size: 14px;
  color: #999;
}

.notice-detail {
  max-width: 800px;
  margin: 0 auto;
}

.notice-detail-header {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e9ecef;
}

.notice-detail-title {
  font-size: 28px;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
}

.notice-detail-meta {
  font-size: 14px;
  color: #666;
}

.notice-detail-content {
  line-height: 1.8;
  color: #333;
  font-size: 16px;
}

.notice-detail-content h1,
.notice-detail-content h2,
.notice-detail-content h3,
.notice-detail-content h4,
.notice-detail-content h5,
.notice-detail-content h6 {
  margin-top: 30px;
  margin-bottom: 15px;
  color: #333;
}

.notice-detail-content p {
  margin-bottom: 15px;
}

.notice-detail-content ul,
.notice-detail-content ol {
  margin-bottom: 15px;
  padding-left: 20px;
}

.notice-detail-content li {
  margin-bottom: 8px;
}

.notice-detail-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 15px 0;
}

.notice-detail-content blockquote {
  background: #f8f9fa;
  border-left: 4px solid #667eea;
  padding: 15px 20px;
  margin: 20px 0;
  font-style: italic;
  color: #666;
}

.notice-detail-content code {
  background: #f8f9fa;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  color: #333;
}

.notice-detail-content pre {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 6px;
  padding: 15px;
  overflow-x: auto;
  margin: 15px 0;
}

.notice-detail-content pre code {
  background: none;
  padding: 0;
  color: #333;
}

/* ========================================
   Error Page Styles
   ======================================== */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 20px;
}

/* ========================================
   Admin Dashboard Styles
   ======================================== */
.admin-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.stat-card {
  background: white;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
}

.stat-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  font-size: 24px;
  color: white;
}

.stat-icon.pending {
  background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
}

.stat-icon.processing {
  background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.stat-icon.completed {
  background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
}

.stat-icon.total {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.stat-icon.amount {
  background: linear-gradient(135deg, #ffc107 0%, #fd7e14 100%);
}

.stat-icon.new {
  background: linear-gradient(135deg, #17a2b8 0%, #20c997 100%);
}

.stat-icon.used {
  background: linear-gradient(135deg, #6f42c1 0%, #e83e8c 100%);
}

.stat-icon.success {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.stat-icon.failed {
  background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
}

.stat-icon.warning {
  background: linear-gradient(135deg, #ffc107 0%, #fd7e14 100%);
}

.stat-content h3 {
  margin: 0 0 5px 0;
  font-size: 16px;
  color: #666;
}

.stat-number {
  margin: 0 0 5px 0;
  font-size: 20px;
  font-weight: bold;
  color: #333;
}

.stat-content small {
  color: #999;
  font-size: 12px;
}

.admin-section {
  background: white;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 30px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.admin-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.admin-section-header h2 {
  margin: 0;
  color: #333;
  font-size: 20px;
  font-weight: 700;
}

.admin-section-header h3 {
  margin: 0;
  color: #666;
  font-size: 16px;
  font-weight: 600;
}

/* 공통 컴포넌트 스타일들은 components.css로 이동됨 */

/* ========================================
   Admin Additional Styles
   ======================================== */

/* 공통 컴포넌트 스타일들은 components.css로 이동됨 */

/* 빠른 액션 */
.quick-actions {
  background: white;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.quick-actions h2 {
  margin: 0 0 20px 0;
  color: #333;
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.action-card {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  text-decoration: none;
  color: #333;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.action-card:hover {
  background: white;
  border-color: #007bff;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 123, 255, 0.2);
}

.action-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  color: white;
  font-size: 20px;
}

.action-card h3 {
  margin: 0 0 8px 0;
  font-size: 16px;
}

.action-card p {
  margin: 0;
  font-size: 12px;
  color: #666;
}

/* 상세보기 섹션 */
.detail-section {
  background: white;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.detail-section h3 {
  margin-bottom: 10px;
}

.status-display {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* 정보 그리드 */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.info-group {
  display: flex;
  flex-direction: column;
}

.info-group label {
  font-weight: 600;
  color: #666;
  font-size: 14px;
  margin-bottom: 5px;
}

.info-group span {
  color: #333;
  font-size: 16px;
}

/* 메모 내용 */
.memo-content {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 15px;
  color: #333;
  line-height: 1.6;
  min-height: 60px;
}

/* 처리 이력 */
.history-list {
  max-height: 300px;
  overflow-y: auto;
}

.history-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid #eee;
}

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

.history-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: white;
}

.history-content {
  flex: 1;
}

.history-title {
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
}

.history-date {
  color: #666;
  font-size: 12px;
}

.history-memo {
  color: #333;
  margin-top: 8px;
  line-height: 1.5;
}

/* 필터 섹션 */
.filter-section {
  background: white;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.filter-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.filter-group label {
  font-weight: 600;
  color: #333;
  white-space: nowrap;
}

.filter-select,
.filter-input {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
}

.search-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

.search-group {
  display: flex;
  gap: 10px;
  flex: 1;
  max-width: 500px;
}

.search-input {
  flex: 1;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
}

/* 리스트 섹션 */
.list-section {
  background: white;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.list-header h2 {
  margin: 0;
  color: #333;
}

.list-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.result-count {
  color: #666;
}

/* 관리자 테이블 */
.table-container {
  overflow-x: auto;
  margin-bottom: 20px;
}

/* 관리자 추가 스타일 */
.admin-status-display {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-memo-content {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 16px;
  min-height: 60px;
  line-height: 1.6;
  color: #333;
}

.admin-process-form {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 24px;
}

.admin-process-form-row {
  display: flex;
  gap: 30px;
  justify-content: center;
  align-items: flex-start;
  margin-bottom: 24px;
}

.admin-process-form-row .admin-form-group {
  flex: 1 1 0;
  min-width: 220px;
}

.admin-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.admin-form-group label {
  font-weight: 600;
  color: #555;
  font-size: 14px;
}

.admin-form-control {
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.3s ease;
  background: white;
}

.admin-form-control:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.admin-form-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

.admin-center-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 0;
}

.admin-filter-section {
  background: white;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.admin-filter-row {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 16px;
}

.admin-filter-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-filter-group label {
  font-weight: 600;
  color: #333;
  white-space: nowrap;
}

.admin-filter-select,
.admin-filter-input {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
}

.admin-search-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

.admin-search-group {
  display: flex;
  gap: 10px;
  flex: 1;
  max-width: 500px;
}

.admin-search-input {
  flex: 1;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
}

.admin-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.admin-list-header h2 {
  margin: 0;
  color: #333;
  font-size: 18px;
  font-weight: 700;
}

.admin-list-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.admin-result-count {
  color: #666;
  font-size: 14px;
}

.admin-pagination-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-top: 1px solid #e9ecef;
}

.admin-pagination-info {
  color: #666;
  font-size: 14px;
}

.admin-pagination-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-page-numbers {
  display: flex;
  gap: 5px;
}

.admin-page-number {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: white;
  color: #333;
}

.admin-page-number.active {
  background: #007bff;
  color: white;
  border-color: #007bff;
}

.admin-page-number:hover {
  background: #f8f9fa;
}

.admin-tab-navigation {
  display: flex;
  gap: 0;
  margin-bottom: 20px;
  border-bottom: 1px solid #e9ecef;
}

.admin-tab-button {
  padding: 12px 24px;
  border: none;
  background: none;
  color: #666;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
}

.admin-tab-button.active {
  color: #007bff;
  border-bottom-color: #007bff;
}

.admin-tab-content {
  display: none;
}

.admin-tab-content.active {
  display: block;
}

.admin-header-actions {
  display: flex;
  gap: 10px;
}

/* Admin 전용 클래스들 - 다른 페이지와 충돌 방지 */
.admin-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.admin-info-group {
  display: flex;
  flex-direction: row;
  gap: 8px;
  align-items: center;
}

.admin-info-group label {
  font-weight: 600;
  color: #999;
  font-size: 14px;
  align-self: center;
}

.admin-info-group span {
  color: #333;
  font-size: 16px;
}

.admin-detail-section {
  background: white;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.admin-detail-section h3 {
  margin: 0 0 20px 0;
  color: #333;
  font-size: 18px;
  font-weight: 700;
}

/* ========================================
   Guide Notice Styles
   ======================================== */
.guide-notice-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.guide-notice-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 20px;
}

.guide-notice-page-title {
  font-size: 28px;
  font-weight: 700;
  color: #333;
  margin: 0;
}

.guide-notice-search-box {
  display: flex;
  align-items: center;
  gap: 15px;
}

.guide-notice-search-input {
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  min-width: 250px;
}

.guide-notice-search-btn {
  padding: 10px 20px;
  background: #667eea;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.guide-notice-search-btn:hover {
  background: #5a6fd8;
}

.guide-notice-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.guide-notice-tab-btn {
  padding: 10px 20px;
  background: #f8f9fa;
  color: #666;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.guide-notice-tab-btn.active {
  background: #667eea;
  color: #fff;
  border-color: #667eea;
}

.guide-notice-tab-btn:hover {
  background: #e9ecef;
  color: #333;
}

.guide-notice-list {
  margin-bottom: 30px;
}

.guide-notice-item {
  display: flex;
  align-items: center;
  gap: 5px;
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.guide-notice-item:hover {
  border-color: #667eea;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.guide-notice-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.guide-notice-badge-notice {
  background: #e3f2fd;
  color: #1976d2;
}

.guide-notice-badge-event {
  background: #fff3e0;
  color: #f57c00;
}

.guide-notice-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
  text-decoration: none;
  display: block;
}

.guide-notice-date {
  font-size: 14px;
  color: #666;
  margin-left: auto;
}

.guide-notice-loading,
.guide-notice-error {
  text-align: center;
  padding: 40px 20px;
  color: #666;
}

.guide-notice-loading i,
.guide-notice-error i {
  font-size: 48px;
  margin-bottom: 15px;
  display: block;
}

.guide-notice-retry-btn {
  padding: 10px 20px;
  background: #667eea;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
  margin-top: 15px;
}

.guide-notice-retry-btn:hover {
  background: #5a6fd8;
}

.guide-notice-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
}

.guide-notice-pagination-btn {
  padding: 8px 12px;
  background: #f8f9fa;
  color: #666;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.guide-notice-pagination-btn:hover {
  background: #e9ecef;
  color: #333;
}

.guide-notice-pagination-btn.active {
  background: #667eea;
  color: #fff;
  border-color: #667eea;
}

.guide-notice-pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ========================================
   Macro Example Styles
   ======================================== */
.macro-example-box {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: space-between;
  padding: 18px 0 0 0;
  background: none;
}

.macro-example-bubble {
  border-radius: 16px;
  padding: 18px 24px;
  font-size: 0.9rem;
  color: #222;
  box-shadow: 0 2px 8px rgba(52, 152, 219, 0.07);
  min-width: 220px;
  max-width: 320px;
  word-break: keep-all;
  line-height: 1.7;
  border: 1.5px solid #b7d8f6;
}

.macro-var {
  color: #3498db;
  font-weight: 700;
  font-size: 1rem;
}

.macro-example-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 80px;
  gap: 8px;
}

.macro-example-btn {
  display: inline-flex;
  align-items: center;
  background: #555;
  color: #fff;
  font-size: 0.8rem;
  border-radius: 16px;
  padding: 6px 18px;
  margin: 0 0 8px 0;
  box-shadow: 0 2px 8px rgba(52, 152, 219, 0.07);
}

.macro-arrow-icon {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
}

.macro-arrow-icon svg {
  display: block;
  width: 18px;
  height: 18px;
}

/* ========================================
   Contact Input Methods Styles
   ======================================== */
.contact-input-methods {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.contact-input-methods .contact-method-option {
  flex: 1;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  padding: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: white;
  margin-right: 0;
}

.contact-method-option:hover {
  border-color: #3498db;
  background-color: #f8f9fa;
}

.contact-method-option input[type='radio'] {
  display: none;
}

.contact-method-option input[type='radio']:checked + .method-content {
  color: #667eea;
}

.contact-method-option input[type='radio']:checked ~ .contact-method-option {
  border-color: #667eea;
  background: #f0f0ff;
}

.method-content strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.method-content small {
  color: #666;
  font-size: 12px;
}

/* 선택된 옵션 스타일 */
.contact-method-option:has(input[type='radio']:checked) {
  border-color: #3498db;
  background-color: #f0f8ff;
  box-shadow: 0 2px 8px rgba(52, 152, 219, 0.15);
  position: relative;
}

.contact-method-option:has(input[type='radio']:checked)::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border: 2px solid #3498db;
  border-radius: 10px;
  pointer-events: none;
}

.contact-method-option:has(input[type='radio']:checked) .method-content strong {
  color: #3498db;
}

.contact-method-option:has(input[type='radio']:checked) .method-content small {
  color: #2980b9;
}

.disabled-input {
  opacity: 0.5;
  pointer-events: none;
}

.disabled-input::placeholder {
  color: #999;
}

/* ========================================
   Tax Receipt Styles
   ======================================== */
.tax-receipt-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.tax-receipt-container h1 {
  text-align: center;
  margin-bottom: 30px;
}

.tax-receipt-form {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  margin-bottom: 30px;
}

.tax-receipt-form-section {
  margin-bottom: 30px;
}

.tax-receipt-form-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.tax-receipt-form-section h3 {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
  position: relative;
}

.tax-receipt-form-section h3::before {
  content: '';
  position: absolute;
  left: -15px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 20px;
  background: #667eea;
  border-radius: 2px;
}

.tax-receipt-radio-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}

.tax-receipt-radio-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tax-receipt-radio-option:hover {
  background: #e9ecef;
  border-color: #dee2e6;
}

.tax-receipt-radio-option input[type='radio'] {
  display: none;
}

.tax-receipt-radio-option input[type='radio']:checked + .tax-receipt-radio-custom {
  border-color: #667eea;
  background: #667eea;
}

.tax-receipt-radio-option input[type='radio']:checked + .tax-receipt-radio-custom::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
}

.tax-receipt-radio-custom {
  width: 18px;
  height: 18px;
  border: 2px solid #dee2e6;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.tax-receipt-option-content {
  flex: 1;
}

.tax-receipt-option-content strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.tax-receipt-option-content small {
  display: block;
  font-size: 12px;
  color: #666;
}

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

.tax-receipt-form-group input[type='text'],
.tax-receipt-form-group input[type='email'],
.tax-receipt-form-group input[type='tel'],
.tax-receipt-form-group input[type='number'],
.tax-receipt-form-group select,
.tax-receipt-form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.2s ease;
  background: #fff;
}

.tax-receipt-form-group input[type='text']:focus,
.tax-receipt-form-group input[type='email']:focus,
.tax-receipt-form-group input[type='tel']:focus,
.tax-receipt-form-group input[type='number']:focus,
.tax-receipt-form-group select:focus,
.tax-receipt-form-group textarea:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.tax-receipt-form-group input[type='file'] {
  padding: 10px;
  border: 2px dashed #e9ecef;
  border-radius: 8px;
  background: #f8f9fa;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tax-receipt-form-group input[type='file']:hover {
  border-color: #667eea;
  background: #e7f3ff;
}

.tax-receipt-form-group small {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: #666;
}

.tax-receipt-form-actions {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #e9ecef;
}

.tax-receipt-form .btn {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tax-receipt-form .btn-primary {
  background: #667eea;
  color: #fff;
}

.tax-receipt-form .btn-primary:hover {
  background: #5a6fd8;
  transform: translateY(-1px);
}

.tax-receipt-form .btn-secondary {
  background: #6c757d;
  color: #fff;
}

.tax-receipt-form .btn-secondary:hover {
  background: #545b62;
  transform: translateY(-1px);
}

/* ========================================
   RCS Agency Registration Styles
   ======================================== */
.rcs-agency-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.rcs-agency-container .page-title {
  font-size: 28px;
  font-weight: 700;
  margin: 30px 0 40px;
  color: #333;
}

/* 2컬럼 레이아웃 (rcs-agency.xst에서만 사용) */
.rcs-agency-wrapper {
  display: grid;
  grid-template-columns: 450px 1fr;
  gap: 30px;
  align-items: start;
}

/* 도움말 섹션 */
.rcs-help-section {
  position: sticky;
  top: 20px;
}

/* rcs-guide.xst 전용: 섹션별 레이아웃 */
.rcs-guide-sections {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 50px;
}

.rcs-guide-section {
  width: 100%;
}

.rcs-help-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  border: 1px solid #e9ecef;
}

.rcs-help-title {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 15px;
  border-bottom: 2px solid #667eea;
}

.rcs-help-title i {
  color: #667eea;
  font-size: 24px;
}

.rcs-help-content {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* 첫 번째 섹션: 좌우 배치 */
.rcs-first-section-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.rcs-first-section-content .rcs-example-wrapper {
  flex: 0 0 40%;
  margin: 0;
  min-height: auto;
}

.rcs-first-section-content .rcs-help-description-wrapper {
  flex: 0 0 1;
  margin-bottom: 0;
}

.rcs-help-description-wrapper {
  margin-bottom: 25px;
  position: relative;
}

.rcs-help-description-content {
  position: relative;
  padding-bottom: 60px;
}

.rcs-help-description-title {
  font-size: 32px;
  font-weight: 900;
  line-height: 1.4;
  color: #1a1a1a;
  margin: 0 0 24px 0;
  letter-spacing: -0.5px;
}

.rcs-help-description {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  margin: 0 0 12px 0;
}

.rcs-description-link {
  color: #667eea;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: #5a6fd8;
  transition: all 0.2s ease;
  position: relative;
}

.rcs-description-link:hover,
.rcs-description-link.rcs-link-active {
  color: #5a6fd8;
  background-color: rgba(102, 126, 234, 0.1);
  border-radius: 3px;
}

/* 말풍선 툴팁 */
.rcs-tooltip {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: #333;
  color: #fff;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.5;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 1000;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  min-height: 40px;
  display: flex;
  align-items: center;
}

.rcs-tooltip.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* 요소 하이라이트 효과 */
.rcs-element-highlight {
  outline: 3px solid #667eea !important;
  outline-offset: 2px;
  background-color: rgba(102, 126, 234, 0.1) !important;
  border-radius: 4px;
  transition: outline 0.1s ease-in-out;
}

.rcs-help-more-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #667eea;
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}

.rcs-help-more-link:hover {
  color: #5a6fd8;
  text-decoration: underline;
}

.rcs-help-more-link i {
  font-size: 12px;
}

.rcs-help-more-link i {
  font-size: 12px;
}

.rcs-help-subtitle {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.rcs-help-subtitle i {
  color: #667eea;
  font-size: 18px;
}

.rcs-help-features,
.rcs-help-requirements,
.rcs-help-notice {
  margin-top: 5px;
}

.rcs-help-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rcs-help-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: #555;
}

.rcs-help-list li i {
  color: #667eea;
  font-size: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}

.rcs-help-list li strong {
  color: #333;
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}

.rcs-help-list li span {
  display: block;
  color: #666;
  font-size: 13px;
}

.rcs-help-notice {
  background: #fff3cd;
  border-left: 4px solid #ffc107;
  padding: 15px;
  border-radius: 6px;
  margin-top: 10px;
}

.rcs-help-notice-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rcs-help-notice-list li {
  font-size: 13px;
  line-height: 1.6;
  color: #856404;
  position: relative;
  padding-left: 15px;
}

.rcs-help-notice-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #ffc107;
  font-weight: bold;
  font-size: 16px;
}

/* RCS 문자 예시 */
.rcs-example-wrapper {
  position: relative;
  margin: 40px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 500px;
}

.rcs-example-phone-frame {
  height: 600px !important;
  display: flex;
  flex-direction: column;
  padding: 0 !important;
}

/* 메시징 앱 헤더 */
.rcs-example-messaging-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #fff;
}

.rcs-example-messaging-header i {
  color: #333;
  font-size: 18px;
}

.rcs-example-messaging-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.rcs-example-messaging-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rcs-example-messaging-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.rcs-example-messaging-title span {
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

/* 광고 표시 */
.rcs-example-ad-label {
  padding: 6px 16px;
  font-size: 12px;
  color: #666;
  background: #fff;
}

.rcs-example-ad-label-text {
  display: inline-block;
}

/* 메시지 버블 */
.rcs-example-message-bubble {
  flex: 0 0 auto;
  background: #f2f2f2;
  margin: 0 12px;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rcs-example-message-greeting {
  font-size: 16px;
  font-weight: 700;
  color: #333;
  margin-bottom: 4px;
}

.rcs-example-message-text {
  font-size: 14px;
  color: #333;
  line-height: 1.5;
}

.rcs-example-message-bullets {
  list-style: none;
  padding: 0;
  margin: 8px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rcs-example-message-bullets li {
  font-size: 14px;
  color: #333;
  position: relative;
  padding-left: 16px;
}

.rcs-example-message-bullets li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #333;
  font-weight: bold;
}

.rcs-example-message-period {
  font-size: 14px;
  color: #333;
  margin-top: 4px;
}

.rcs-example-action-button {
  width: 100%;
  padding: 14px;
  background: #ebebeb;
  color: #333;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  margin-top: 8px;
  cursor: default;
}

/* 메시지 하단 정보 */
.rcs-example-message-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 16px;
  background: #fff;
  font-size: 12px;
}

.rcs-example-message-time {
  color: #999;
}

.rcs-example-opt-out {
  color: #999;
}

/* 요소 설명 라벨 */
.rcs-example-element-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* 반응형 */
@media (max-width: 968px) {
  .rcs-first-section-content {
    flex-direction: column;
  }

  .rcs-first-section-content .rcs-example-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .rcs-first-section-content .rcs-help-description-wrapper {
    width: 100%;
  }

  .rcs-example-wrapper {
    flex-direction: column;
    min-height: auto;
    padding: 20px;
  }

  .rcs-example-phone-frame {
    width: 100%;
    max-width: 400px;
    height: 500px !important;
  }
}

/* 폼 섹션 */
.rcs-form-section {
  min-width: 0; /* grid 오버플로우 방지 */
  max-width: 800px;
  margin: 0 auto;
}

.rcs-agency-container .tax-receipt-form-group small {
  justify-content: flex-end;
}

/* 로고 미리보기 스타일 */
#logoPreview {
  margin-top: 15px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 8px;
  border: 2px dashed #e9ecef;
  text-align: center;
}

#logoPreviewImg {
  max-width: 200px;
  max-height: 200px;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  object-fit: contain;
}

/* 추가 증빙자료 미리보기 스타일 */
#additionalDocsPreview {
  margin-top: 15px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 8px;
  border: 2px dashed #e9ecef;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

#additionalDocsPreview > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #e9ecef;
  transition: all 0.2s ease;
}

#additionalDocsPreview > div:hover {
  border-color: #667eea;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.15);
}

#additionalDocsPreview img {
  max-width: 100px;
  max-height: 100px;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  object-fit: cover;
}

#additionalDocsPreview .fa-file-pdf {
  font-size: 32px;
  color: #dc3545;
}

/* 글자 수 카운터 스타일 */
.tax-receipt-form-group small {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  font-size: 12px;
  color: #666;
}

.tax-receipt-form-group small span {
  font-weight: 600;
  color: #667eea;
}

/* 체크박스 스타일 개선 */
.tax-receipt-form-group label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  color: #333;
  user-select: none;
}

.tax-receipt-form-group label input[type='checkbox'] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #667eea;
  flex-shrink: 0;
}

.tax-receipt-form-group label input[type='checkbox']:checked {
  background-color: #667eea;
  border-color: #667eea;
}

.tax-receipt-form-group label span {
  flex: 1;
  line-height: 1.5;
}

/* URL 입력 필드 스타일 */
.tax-receipt-form-group input[type='url'] {
  font-family: inherit;
}

/* 파일 업로드 영역 개선 */
.tax-receipt-form-group input[type='file'] {
  width: 100%;
  padding: 12px;
  border: 2px dashed #e9ecef;
  border-radius: 8px;
  background: #f8f9fa;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 14px;
}

.tax-receipt-form-group input[type='file']:hover {
  border-color: #667eea;
  background: #e7f3ff;
}

.tax-receipt-form-group input[type='file']:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* 텍스트 영역 스타일 개선 */
.tax-receipt-form-group textarea {
  resize: vertical;
  min-height: 100px;
  font-family: inherit;
  line-height: 1.5;
}

.tax-receipt-form-group textarea::placeholder {
  color: #999;
}

/* 필수 표시 스타일 */
.tax-receipt-form-group label:has(+ input[required]),
.tax-receipt-form-group label:has(+ textarea[required]),
.tax-receipt-form-group label:has(+ select[required]) {
  position: relative;
}

.tax-receipt-form-group label:has(+ input[required])::after,
.tax-receipt-form-group label:has(+ textarea[required])::after,
.tax-receipt-form-group label:has(+ select[required])::after {
  content: ' *';
  color: #dc3545;
  font-weight: 600;
}

/* 반응형 디자인 */
@media (max-width: 1200px) {
  .rcs-agency-wrapper {
    grid-template-columns: 400px 1fr;
    gap: 20px;
  }
}

@media (max-width: 968px) {
  .rcs-agency-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .rcs-help-section {
    position: static;
  }

  .rcs-help-card {
    margin-bottom: 0;
  }
}

@media (max-width: 768px) {
  .rcs-agency-container {
    padding: 15px;
  }

  .rcs-agency-container .page-title {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .rcs-agency-wrapper {
    gap: 20px;
  }

  .rcs-help-card {
    padding: 20px;
  }

  .rcs-help-title {
    font-size: 18px;
  }

  .rcs-help-subtitle {
    font-size: 15px;
  }

  .tax-receipt-form {
    padding: 20px;
  }

  .tax-receipt-form-section h3 {
    font-size: 18px;
  }

  #logoPreviewImg {
    max-width: 150px;
    max-height: 150px;
  }

  #additionalDocsPreview {
    gap: 10px;
  }

  #additionalDocsPreview img {
    max-width: 80px;
    max-height: 80px;
  }

  .tax-receipt-form-actions {
    flex-direction: column;
  }

  .tax-receipt-form-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ========================================
   Additional Admin Styles
   ======================================== */
.filter-section {
  background: white;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.filter-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.filter-group label {
  font-weight: 600;
  color: #333;
  white-space: nowrap;
}

.filter-select,
.filter-input {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
}

.search-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

.search-group {
  display: flex;
  gap: 10px;
  flex: 1;
  max-width: 500px;
}

.search-input {
  flex: 1;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
}

.list-section {
  background: white;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.list-header h2 {
  margin: 0;
  color: #333;
}

.list-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.result-count {
  color: #666;
}

.table-container {
  overflow-x: auto;
  margin-bottom: 20px;
}

/* 공통 컴포넌트 스타일들은 components.css로 이동됨 */

/* 빠른 액션 */
.quick-actions {
  background: white;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.quick-actions h2 {
  margin: 0 0 20px 0;
  color: #333;
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.action-card {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  text-decoration: none;
  color: #333;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.action-card:hover {
  background: white;
  border-color: #667eea;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(102, 126, 234, 0.2);
}

/* ========================================
   Additional Guide Styles
   ======================================== */
.guide-notice-detail-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.guide-notice-detail-bg {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
}

.guide-notice-detail-header {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e9ecef;
}

.guide-notice-detail-title {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
}

.guide-notice-detail-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #666;
  font-size: 14px;
}

.guide-notice-detail-badge {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.guide-notice-detail-content {
  line-height: 1.8;
  color: #333;
}

.guide-notice-detail-content h3 {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin: 30px 0 15px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid #e9ecef;
}

.guide-notice-detail-content h4 {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin: 25px 0 10px 0;
}

.guide-notice-detail-content p {
  margin-bottom: 15px;
}

.guide-notice-detail-content ul,
.guide-notice-detail-content ol {
  margin-bottom: 15px;
  padding-left: 20px;
}

.guide-notice-detail-content li {
  margin-bottom: 8px;
}

.guide-notice-benefit-example {
  background: #f8f9fa;
  border-left: 4px solid #667eea;
  padding: 20px;
  margin: 20px 0;
  border-radius: 0 8px 8px 0;
}

.guide-notice-benefit-example p {
  margin: 0;
  color: #333;
  font-weight: 500;
}

.guide-notice-maintenance-info {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0;
}

.guide-notice-maintenance-info p {
  margin: 0;
  color: #856404;
}

.guide-notice-caution {
  background: #f8d7da;
  border: 1px solid #f5c6cb;
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0;
}

.guide-notice-caution h4 {
  color: #721c24;
  margin: 0 0 15px 0;
}

.guide-notice-caution ul {
  margin: 0;
  padding-left: 20px;
}

.guide-notice-caution li {
  color: #721c24;
  margin-bottom: 8px;
}

.guide-notice-code-guide {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0;
}

.guide-notice-code-guide p {
  margin: 0;
  color: #333;
  font-family: 'Courier New', monospace;
}

.guide-notice-contact-info {
  background: #e3f2fd;
  border: 1px solid #bbdefb;
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0;
}

.guide-notice-detail-actions {
  display: flex;
  gap: 15px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #e9ecef;
}

.guide-notice-back-btn {
  padding: 10px 20px;
  background: #6c757d;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
  text-decoration: none;
}

.guide-notice-back-btn:hover {
  background: #545b62;
  color: #fff;
  text-decoration: none;
}

.guide-notice-share-btn {
  padding: 10px 20px;
  background: #667eea;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
  text-decoration: none;
}

.guide-notice-share-btn:hover {
  background: #5a6fd8;
  color: #fff;
  text-decoration: none;
}

.error-container {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  padding: 60px 40px;
  text-align: center;
  max-width: 500px;
  width: 100%;
}

.error-code {
  font-size: 120px;
  font-weight: 700;
  color: #667eea;
  margin-bottom: 20px;
  line-height: 1;
}

.error-title {
  font-size: 28px;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
}

.error-message {
  color: #666;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 30px;
}

.error-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.error-btn {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.error-btn-primary {
  background: #667eea;
  color: #fff;
}

.error-btn-primary:hover {
  background: #5a6fd8;
  color: #fff;
  text-decoration: none;
}

.error-btn-secondary {
  background: #6c757d;
  color: #fff;
}

.error-btn-secondary:hover {
  background: #545b62;
  color: #fff;
  text-decoration: none;
}

/* ========================================
   누락된 스타일들 추가
   ======================================== */

/* 연락처 입력 섹션 */
.contact-input-section {
  margin-bottom: 20px;
}

/* 수신자 테이블 스타일 */
.contact-list table.contact-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  margin-bottom: 0;
}
.contact-list th,
.contact-list td {
  padding: 10px 8px;
  text-align: left;
  border-bottom: 1px solid #f0f0f0;
  font-size: 15px;
}
.contact-list th {
  background: #f8f9fa;
  font-weight: 600;
  color: #333;
}
.contact-list tr.contact-item {
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
}
.contact-list tr.contact-item:last-child {
  border-bottom: none;
}
.contact-list td button.btn-remove-contact {
  padding: 4px 10px;
  font-size: 13px;
  border-radius: 5px;
  background: #f8d7da;
  color: #c82333;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.contact-list td button.btn-remove-contact:hover {
  background: #f5c6cb;
}

/* 연락처 수동 페이지네이션 */
.contact-manual-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 15px 0;
  border-top: 1px solid #e0e0e0;
}

.contact-manual-page-btn {
  min-width: 36px;
  height: 36px;
  padding: 0 8px;
  border: 1px solid #ddd;
  background: white;
  color: #666;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-manual-page-btn:hover:not(:disabled) {
  background: #f8f9fa;
  border-color: #3498db;
  color: #3498db;
}

.contact-manual-page-btn.active {
  background: #3498db;
  border-color: #3498db;
  color: white;
  font-weight: 600;
}

.contact-manual-page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background: #f5f5f5;
  color: #ccc;
}

.contact-manual-page-btn:disabled:hover {
  background: #f5f5f5;
  border-color: #ddd;
  color: #ccc;
}

/* 주소록 업로드 영역 스타일 */
.addressbook-upload-area {
  margin-top: 15px;
}

.addressbook-upload-box {
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  background: #fafafa;
  transition: all 0.3s ease;
}

.addressbook-upload-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.addressbook-upload-placeholder i {
  font-size: 32px;
  color: #5e42ec;
  margin-bottom: 5px;
}

.addressbook-upload-placeholder span {
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.addressbook-upload-placeholder small {
  font-size: 12px;
  color: #666;
}

.addressbook-uploaded-groups {
  display: flex;
  flex-direction: column;
}

.addressbook-uploaded-groups .addressbook-groups-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.addressbook-selected-groups {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.selected-group-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: #fff;
  border-radius: 6px;
  border: 1px solid #e9ecef;
  transition: all 0.2s ease;
}

.selected-group-info {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.selected-group-info i {
  font-size: 16px;
  color: #5e42ec;
}

.selected-group-name {
  font-weight: 500;
  color: #333;
  font-size: 14px;
}

.selected-group-count {
  font-size: 12px;
  color: #666;
}

.btn-remove-single-group {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  background: #dc3545;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-remove-single-group:hover {
  background: #c82333;
  transform: scale(1.05);
}

.addressbook-groups-info {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.addressbook-groups-info i {
  font-size: 20px;
  color: #5e42ec;
}

.addressbook-groups-count {
  font-size: 12px;
  color: #666;
  margin-left: 5px;
}

.excel-template-download {
  text-align: center;
}

.btn-download-template {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: #f8f9fa;
  color: #666;
  text-decoration: none;
  border-radius: 6px;
  font-size: 13px;
  transition: all 0.3s ease;
}

.btn-download-template:hover {
  background: #e9ecef;
  color: #333;
}

/* Contact Count Info */
.contact-count-info {
  color: #333;
  font-size: 14px;
}

/* 엑셀 업로드 영역 */
.excel-upload-area {
  margin-bottom: 15px;
  margin-top: 15px;
}

.excel-upload-box {
  border: 2px dashed #ddd;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.excel-upload-box:hover {
  border-color: #3498db;
  background-color: #f8f9fa;
}

.excel-upload-placeholder {
  color: #666;
}

.excel-upload-placeholder i {
  font-size: 24px;
  margin-bottom: 8px;
  color: #27ae60;
}

.excel-upload-placeholder span {
  display: block;
  font-weight: 500;
  margin-bottom: 4px;
}

.excel-upload-placeholder small {
  color: #999;
  font-size: 12px;
}

.excel-uploaded-file {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  background: #e8f5e8;
  border-radius: 6px;
}

.excel-file-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.excel-file-info i {
  color: #27ae60;
  font-size: 16px;
}

.excel-file-count {
  color: #27ae60;
  font-weight: 600;
}

.btn-remove-excel {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #e74c3c;
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: all 0.3s ease;
}

.btn-remove-excel:hover {
  background: #c0392b;
  transform: scale(1.1);
}

/* 연락처 카운트 정보 */
.contact-count-info {
  color: #333;
  font-size: 14px;
  text-align: right;
}

.contact-count-info strong {
  color: #3498db;
  font-weight: 600;
}

/* 메시지 입력 영역 */
.message-input-area {
  margin-top: 20px;
}

/* 제목 입력 컨테이너 */
.subject-input-container {
  margin-bottom: 20px;
}

.subject-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.subject-input-wrapper input {
  flex: 1;
  padding: 12px 15px;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  font-size: 14px;
  transition: border-color 0.3s ease;
}

.subject-input-wrapper input:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.subject-char-count {
  position: absolute;
  right: 15px;
  color: #6c757d;
  font-size: 12px;
  pointer-events: none;
}

/* 스텝5 버튼 행 */
.step5-btn-row {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.btn-step5-message {
  background: #6c757d;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-step5-message:hover {
  background: #5a6268;
}

.btn-step5-message i {
  font-size: 16px;
}

/* 매크로 예시 관련 스타일들 */
.macro-example-src {
  flex: 1;
  text-align: center;
}

.macro-example-result {
  flex: 1;
  text-align: center;
}

/* ========================================
   발송 확인 모달 스타일들
   ======================================== */

/* 발송 확인 모달 */
/* sendConfirmModal styles moved to components.css */

/* contacts-modal styles moved to components.css */

/* all-addressbooks-modal styles moved to components.css */

.all-addressbook-group-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  border: 1px solid #e1e5e9;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: white;
}

.all-addressbook-group-item:hover {
  border-color: #5e42ec;
  box-shadow: 0 2px 8px rgba(94, 66, 236, 0.1);
}

.all-addressbook-group-item.selected {
  border-color: #5e42ec;
  background: #f0f0ff;
  position: relative;
}

.btn-manage-members {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 8px;
  background: #5e42ec;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-manage-members:hover {
  background: #4a35c7;
}

.all-addressbook-group-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #5e42ec;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  color: white;
  font-size: 16px;
}

.all-addressbook-group-item.selected .all-addressbook-group-icon {
  background: #4a35c7;
}

.all-addressbook-group-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.all-addressbook-group-name {
  font-weight: 600;
  color: #333;
  font-size: 14px;
  margin-bottom: 4px;
}

.all-addressbook-group-count {
  color: #666;
  font-size: 12px;
}

.all-addressbook-group-count strong {
  color: #5e42ec;
  font-weight: 600;
}

.btn-select-group {
  padding: 6px 12px;
  border: 1px solid #5e42ec;
  background: white;
  border-radius: 6px;
  cursor: pointer;
  color: #5e42ec;
  font-size: 12px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-select-group:hover {
  background: #5e42ec;
  color: white;
}

.all-addressbooks-members-header {
  padding: 20px 20px 15px 20px;
}

.all-addressbooks-members-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin: 0 0 10px 0;
}

.all-addressbooks-members-search {
  position: relative;
}

.all-addressbooks-members-search input {
  width: 100%;
  padding: 8px 12px 8px 35px;
  border: 1px solid #e1e5e9;
  border-radius: 6px;
  font-size: 13px;
  background: white;
}

.all-addressbooks-members-search input:focus {
  outline: none;
  border-color: #5e42ec;
  box-shadow: 0 0 0 2px rgba(94, 66, 236, 0.1);
}

.all-addressbooks-members-search i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
  font-size: 12px;
}

.all-addressbooks-members-list {
  flex: 1;
  overflow-y: auto;
}

.all-addressbook-member-item {
  display: flex;
  align-items: center;
  padding: 12px;
  border: 1px solid #e1e5e9;
  border-radius: 8px;
  margin-bottom: 8px;
  background: white;
  transition: all 0.3s ease;
}

.all-addressbook-member-item:hover {
  border-color: #5e42ec;
  box-shadow: 0 2px 8px rgba(94, 66, 236, 0.1);
}

.all-addressbook-member-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  color: #666;
  font-size: 14px;
  font-weight: 600;
}

.all-addressbook-member-content {
  display: flex;
  flex: 1;
  justify-content: space-between;
  align-items: center;
}

.all-addressbook-member-name {
  font-weight: 600;
  color: #333;
  font-size: 14px;
  margin-bottom: 4px;
}

.all-addressbook-member-phone {
  color: #666;
  font-size: 15px;
  margin-bottom: 2px;
}

.all-addressbook-member-email {
  color: #999;
  font-size: 12px;
}

.all-addressbook-member-actions {
  display: flex;
  gap: 5px;
}

.btn-edit-member {
  padding: 4px 8px;
  border: 1px solid #28a745;
  background: white;
  border-radius: 4px;
  cursor: pointer;
  color: #28a745;
  font-size: 11px;
  font-weight: 500;
  transition: all 0.3s ease;
  margin-right: 4px;
}

.btn-edit-member:hover {
  background: #28a745;
  color: white;
}

.btn-delete-member {
  padding: 4px 8px;
  border: 1px solid #dc3545;
  background: white;
  border-radius: 4px;
  cursor: pointer;
  color: #dc3545;
  font-size: 11px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-delete-member:hover {
  background: #dc3545;
  color: white;
}

.all-addressbooks-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 15px;
}

.all-addressbooks-pagination button {
  padding: 6px 12px;
  border: 1px solid #e1e5e9;
  background: white;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  color: #666;
  transition: all 0.3s ease;
}

.all-addressbooks-pagination button:hover {
  border-color: #5e42ec;
  color: #5e42ec;
}

.all-addressbooks-pagination button.active {
  background: #5e42ec;
  border-color: #5e42ec;
  color: white;
}

.all-addressbooks-pagination button:disabled {
  background: #f5f5f5;
  color: #ccc;
  cursor: not-allowed;
}

.all-addressbooks-pagination-info {
  font-size: 12px;
  color: #666;
  margin-left: 10px;
}

.all-addressbooks-members-limit-notice {
  padding: 8px 12px;
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  margin: 10px 0 0 0;
  font-size: 12px;
  color: #856404;
}

.all-addressbooks-members-limit-notice i {
  margin-right: 3px;
  color: #f39c12;
  transform: translateY(1px);
}

.all-addressbooks-modal-footer {
  padding: 15px 20px;
  border-top: 1px solid #e1e5e9;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.all-addressbooks-modal-info {
  color: #666;
  font-size: 14px;
}

.all-addressbooks-modal-actions {
  display: flex;
  gap: 10px;
}

.btn-modal-complete {
  padding: 8px 20px;
  background: #5e42ec;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-modal-complete:hover {
  background: #4a35c7;
}

.btn-modal-cancel {
  padding: 8px 20px;
  background: #6c757d;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-modal-cancel:hover {
  background: #5a6268;
}

.all-addressbooks-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 40px;
  color: #666;
  font-size: 16px;
}

.all-addressbooks-loading i {
  color: #5e42ec;
}

.all-addressbooks-loading i.fa-info-circle {
  color: #6c757d;
}

.all-addressbook-group-row {
  display: flex;
  align-items: center;
}

.group-checkbox {
  margin-right: 10px;
  width: 18px;
  height: 18px;
  accent-color: #5e42ec;
}

.all-addressbook-members-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
  padding: 0px 8px 15px 20px;
}

.all-addressbook-members-header-row {
  display: flex;
  background: #3498db;
  font-weight: 600;
  font-size: 15px;
  color: white;
  border-radius: 8px 8px 0 0;
}

.all-addressbook-members-header-cell {
  padding: 12px 10px;
  text-align: left;
}
.all-addressbook-members-header-cell:nth-child(1),
.all-addressbook-members-cell.all-addressbook-member-phone {
  flex: 0 0 40%;
  max-width: 40%;
}
.all-addressbook-members-header-cell:nth-child(2),
.all-addressbook-members-cell.all-addressbook-member-macro1 {
  flex: 0 0 30%;
  max-width: 30%;
}
.all-addressbook-members-header-cell:nth-child(3),
.all-addressbook-members-cell.all-addressbook-member-macro2 {
  flex: 0 0 30%;
  max-width: 30%;
}

.all-addressbook-members-body {
  width: 100%;
  border: 1px solid #e1e5e9;
}

.all-addressbook-members-row {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #f0f0f0;
}

.all-addressbook-members-row:last-child {
  border-bottom: none;
  border-radius: 0 0 8px 8px;
}

.all-addressbook-members-cell {
  flex: 1;
  padding: 12px 10px;
  font-size: 15px;
  color: #333;
  word-break: break-all;
}

.all-addressbook-member-phone {
  font-size: 15px;
  font-weight: bold;
  color: #222;
}

.all-addressbook-member-macro1,
.all-addressbook-member-macro2 {
  text-align: left;
  font-size: 15px;
}

/* 페이지네이션 스타일 */
.all-addressbooks-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 15px;
}

.all-addressbooks-pagination button {
  padding: 6px 12px;
  border: 1px solid #e1e5e9;
  background: white;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  color: #666;
  transition: all 0.3s ease;
}

.all-addressbooks-pagination button:hover {
  border-color: #5e42ec;
  color: #5e42ec;
}

.all-addressbooks-pagination button.active {
  background: #5e42ec;
  border-color: #5e42ec;
  color: white;
}

.all-addressbooks-pagination button:disabled {
  background: #f5f5f5;
  color: #ccc;
  cursor: not-allowed;
}

.all-addressbooks-pagination-info {
  font-size: 12px;
  color: #666;
  margin-left: 10px;
}

/* 로딩 스타일 */
.all-addressbooks-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 40px;
  color: #666;
  font-size: 16px;
}

.all-addressbooks-loading i {
  color: #5e42ec;
}

.all-addressbooks-loading i.fa-info-circle {
  color: #6c757d;
}

.btn-modal-cancel {
  background: #95a5a6;
  color: white;
  border: none;
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-modal-cancel:hover {
  background: #7f8c8d;
}

.btn-modal-complete {
  background: #3498db;
  color: white;
  border: none;
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-modal-complete:hover {
  background: #2980b9;
}

/* ========================================
   나의 문자함 모달 스타일들
   ======================================== */

/* my-messages-modal styles moved to components.css */

/* ========================================
   RCS 메시지 타입 배지 스타일들
   ======================================== */

.preview-message-type-badge.rcs-sms {
  background: #3498db;
  color: white;
}

.preview-message-type-badge.rcs-lms {
  background: #e67e22;
  color: white;
}

.preview-message-type-badge.rcs-mms {
  background: #9b59b6;
  color: white;
}

/* ========================================
   제목 입력 컨테이너 스타일들
   ======================================== */

.subject-input-container {
  margin-bottom: 15px;
}

.subject-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.subject-input-wrapper input {
  flex: 1;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  background: white;
}

.subject-input-wrapper input:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.subject-char-count {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: #999;
  background: white;
  padding: 2px 6px;
  border-radius: 3px;
}

/* ========================================
   텍스트 영역 컨테이너 스타일들
   ======================================== */

.textarea-container {
  position: relative;
  margin-bottom: 15px;
}

.char-count {
  position: absolute;
  bottom: 8px;
  right: 12px;
  font-size: 12px;
  color: #999;
  background: white;
  padding: 2px 6px;
  border-radius: 3px;
}

/* ========================================
   이미지 업로드 영역 스타일들
   ======================================== */

.image-upload-area {
  margin-bottom: 20px;
}

.image-upload-box {
  border: 2px dashed #ddd;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.image-upload-box:hover {
  border-color: #3498db;
  background-color: #f8f9fa;
}

.upload-placeholder {
  color: #666;
}

.upload-placeholder i {
  font-size: 24px;
  margin-bottom: 8px;
  color: #3498db;
}

.upload-placeholder span {
  display: block;
  font-weight: 500;
  margin-bottom: 4px;
}

.upload-placeholder small {
  color: #999;
  font-size: 12px;
}

.uploaded-images {
  display: none;
}

.image-upload-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e9ecef;
}

.image-upload-header p {
  margin: 0;
  font-size: 14px;
  color: #666;
  display: flex;
  align-items: center;
  gap: 10px;
}

.image-count {
  font-weight: 600;
  color: #3498db;
}

.btn-add-more-images {
  background: #3498db;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 5px;
}

.btn-add-more-images:hover:not(.disabled) {
  background: #2980b9;
  transform: translateY(-1px);
}

.btn-add-more-images.disabled {
  background: #95a5a6;
  cursor: not-allowed;
  opacity: 0.6;
}

.image-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
}

.uploaded-image-item {
  position: relative;
  width: 150px;
  height: 150px;
  border-radius: 8px;
  overflow: hidden;
}

.uploaded-image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.btn-remove-image {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #e74c3c;
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.btn-remove-image:hover {
  background: #c0392b;
  transform: scale(1.1);
}

/* ========================================
   스텝 5 버튼 행 스타일들
   ======================================== */

.step5-btn-row {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.btn-step5-message {
  flex: 1;
  background: #f8f9fa;
  color: #666;
  border: 1px solid #e9ecef;
  padding: 12px 20px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-step5-message:hover,
.btn-step5-message:focus {
  background: #e9ecef;
  border-color: #dee2e6;
  color: #333;
}

.btn-step5-message i {
  font-size: 16px;
  color: #3498db;
}

/* ========================================
   발송 확인 모달 버튼 스타일들
   ======================================== */

.btn-really-send {
  background: #3498db;
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-really-send:hover {
  background: #2980b9;
  transform: translateY(-1px);
}

.btn-close-send-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  color: #999;
  cursor: pointer;
  transition: color 0.3s ease;
}

.btn-close-send-modal:hover {
  color: #333;
}

/* ========================================
   메시지 입력 영역 스타일들
   ======================================== */

.message-input-area {
  margin-bottom: 20px;
}

.message-input-toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 10px;
}

.btn-special-chars {
  background: #f8f9fa;
  color: #666;
  border: 1px solid #e9ecef;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 5px;
}

.btn-special-chars:hover {
  background: #e9ecef;
  border-color: #dee2e6;
  color: #333;
}

.btn-special-chars i {
  font-size: 16px;
  color: #3498db;
}

/* ========================================
   특수문자 모달 스타일들
   ======================================== */

/* ========================================
   발송 시간 설정 스타일들
   ======================================== */

.send-time-options {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.send-time-option {
  flex: 1;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  padding: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: white;
}

.send-time-option:hover {
  border-color: #3498db;
  background-color: #f8f9fa;
}

.send-time-option input[type='radio'] {
  display: none;
}

.send-time-option input[type='radio']:checked ~ .send-time-option {
  border-color: #e0e0e0;
}

.time-content strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
  color: #333;
}

.time-content small {
  color: #666;
  font-size: 12px;
}

.reservation-settings {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  display: flex;
  gap: 20px;
  align-items: flex-end;
}

.reservation-date,
.reservation-time {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.reservation-date:last-child,
.reservation-time:last-child {
  grid-column: 1 / -1;
}

.reservation-date label,
.reservation-time label {
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

.reservation-date input:focus,
.reservation-time input:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.time-input-group {
  display: flex;
  gap: 10px;
  align-items: center;
}

.time-input-group input[type='time'] {
  flex: 1;
}

.btn-confirm-time-input {
  background: #3498db;
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.btn-confirm-time-input:hover {
  background: #2980b9;
  transform: translateY(-1px);
}

.btn-confirm-time-input i {
  font-size: 14px;
}

/* ========================================
   발송 확인 모달 스타일들
   ======================================== */

.send-confirm-notice-item {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 20px;
}

.send-confirm-notice-content {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.send-confirm-notice-text {
  font-size: 14px;
  color: #856404;
  line-height: 1.5;
}

.send-confirm-notice-text span {
  font-weight: 600;
  color: #dc3545;
}

/* 발송 확인 모달 버튼들 */
.send-confirm-modal-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 30px;
}

.btn-confirm-send {
  background: #28a745;
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-confirm-send:hover {
  background: #218838;
}

.btn-cancel-send {
  background: #6c757d;
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-cancel-send:hover {
  background: #5a6268;
}

/* ========================================
   원격지원 페이지 스타일
   ======================================== */

/* 원격지원 페이지 전용 스타일 */
.guide-remote-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.guide-remote-container h1 {
  text-align: center;
}

.guide-remote-page-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 15px;
}

.guide-remote-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.guide-remote-section {
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #f0f0f0;
}

.guide-remote-section-title {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin-bottom: 25px;
}

.guide-remote-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #6c5ce0;
  color: white;
  border-radius: 50%;
  font-weight: 700;
  font-size: 18px;
}

/* 다운로드 섹션 */
.guide-remote-download-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 30px;
  background: linear-gradient(135deg, #f8f9ff 0%, #e8e5ff 100%);
  border-radius: 12px;
  border: 2px solid #e8e5ff;
}

.guide-remote-download-info {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
}

.guide-remote-download-icon {
  flex-shrink: 0;
}

.guide-remote-download-text h3 {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
}

.guide-remote-download-text p {
  color: #666;
  margin-bottom: 15px;
  line-height: 1.6;
}

.guide-remote-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.guide-remote-features li {
  color: #6c5ce0;
  font-weight: 500;
  font-size: 14px;
}

.guide-remote-download-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #6c5ce0;
  color: white;
  border: none;
  padding: 15px 25px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(108, 92, 224, 0.3);
  flex-shrink: 0;
}

.guide-remote-download-btn:hover {
  background: #5a4fd8;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(108, 92, 224, 0.4);
}

/* 설치 순서 섹션 */
.guide-remote-steps {
  display: grid;
  gap: 20px;
}

.guide-remote-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 12px;
  border-left: 4px solid #6c5ce0;
}

.guide-remote-step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #6c5ce0;
  color: white;
  border-radius: 50%;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}

.guide-remote-step-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.guide-remote-step-content p {
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* 주의사항 섹션 */
.guide-remote-notice {
  display: grid;
  gap: 20px;
}

.guide-remote-notice-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 20px;
  background: #fff3cd;
  border-radius: 12px;
  border-left: 4px solid #ffc107;
}

.guide-remote-notice-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.guide-remote-notice-content h3 {
  font-size: 16px;
  font-weight: 600;
  color: #856404;
  margin-bottom: 5px;
}

.guide-remote-notice-content p {
  color: #856404;
  margin: 0;
  line-height: 1.5;
}

/* FAQ 섹션 */
.guide-remote-faq {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.guide-remote-faq-item {
  border: 1px solid #e9ecef;
  border-radius: 10px;
  overflow: hidden;
}

.guide-remote-faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: #f8f9fa;
  cursor: pointer;
  transition: background 0.3s ease;
}

.guide-remote-faq-question:hover {
  background: #e9ecef;
}

.guide-remote-faq-question h3 {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.guide-remote-faq-toggle {
  font-size: 20px;
  font-weight: 700;
  color: #6c5ce0;
  transition: transform 0.3s ease;
}

.guide-remote-faq-answer {
  display: none;
  padding: 20px;
  background: white;
  border-top: 1px solid #e9ecef;
}

.guide-remote-faq-answer p {
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* 다운로드 알림 */
.guide-remote-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #28a745;
  color: white;
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  animation: slideInRight 0.3s ease;
}

.guide-remote-notification-content {
  display: flex;
  align-items: center;
  gap: 15px;
}

.guide-remote-notification-content button {
  background: none;
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
  padding: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.guide-remote-notification-content button:hover {
  opacity: 0.8;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* ========================================
   공지사항 편집 페이지 스타일
   ======================================== */

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

.notice-form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
  font-size: 14px;
}

.notice-form-control {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.3s ease;
  background: #fff;
}

.notice-form-control:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.notice-form-control[type='date'] {
  font-family: inherit;
}

#noticeContent {
  resize: none;
  height: 300px;
}

.notice-event-fields {
  display: none;
  margin-bottom: 20px;
}

.notice-event-fields.show {
  display: block;
}

.notice-event-date-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.notice-event-separator {
  font-weight: 600;
  color: #666;
  font-size: 16px;
}

.notice-form-actions {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #e9ecef;
}

.notice-btn {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.notice-btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
}

.notice-btn-secondary {
  background: #f8f9fa;
  color: #6c757d;
  border: 2px solid #e9ecef;
}

.notice-btn-secondary:hover {
  background: #e9ecef;
  color: #495057;
}

/* ========================================
   간단한 가이드 페이지 스타일
   ======================================== */

.dummy-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
}

.dummy-page h1 {
  font-size: 32px;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
}

.dummy-page p {
  font-size: 18px;
  color: #666;
  line-height: 1.6;
}

/* ========================================
   공지사항 페이지 추가 스타일
   ======================================== */

.guide-notice-empty-state {
  text-align: center;
  padding: 60px 20px;
  color: #666;
}

.guide-notice-empty-state p {
  margin-bottom: 10px;
}

.guide-notice-empty-state i {
  font-size: 48px;
  margin-bottom: 10px;
  display: block;
}

/* 이벤트 제목에 날짜 범위 표시가 있을 때의 스타일 */
.guide-notice-title.guide-notice-event-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.guide-notice-event-date-range {
  font-size: 12px;
  color: #666;
  background: #f8f9fa;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid #e9ecef;
  white-space: nowrap;
  font-weight: 500;
}

/* ========================================
   공지사항 상세 페이지 추가 스타일
   ======================================== */

/* 공지사항 상세 페이지 - 로딩 및 에러 상태 */
.guide-notice-detail-loading,
.guide-notice-detail-error {
  text-align: center;
  padding: 40px 20px;
  color: #666;
}

.guide-notice-detail-loading i,
.guide-notice-detail-error i {
  font-size: 48px;
  display: block;
  margin-bottom: 16px;
}

.guide-notice-detail-error {
  color: #721c24;
}

.guide-notice-detail-retry-btn {
  background: #6c5ce0;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  margin: 16px 8px 0 0;
}

.guide-notice-detail-retry-btn:hover {
  background: #5a4fd8;
}

/* 공지사항 상세 페이지 - 헤더 레이아웃 */
.guide-notice-detail-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.guide-notice-detail-title {
  flex: 1 1 auto;
  margin: 0;
  font-size: 1.5em;
}

/* 공지사항 상세 페이지 - 관리자 액션 */
.guide-notice-detail-admin-actions {
  display: flex;
  gap: 8px;
}

.guide-notice-edit-btn {
  background: #007bff;
  color: #fff;
  border: none;
  padding: 6px 16px;
  border-radius: 4px;
  font-size: 1em;
  cursor: pointer;
  text-decoration: none;
}

.guide-notice-edit-btn:hover {
  background: #0056b3;
}

.guide-notice-delete-btn {
  background: #dc3545;
  color: #fff;
  border: none;
  padding: 6px 16px;
  border-radius: 4px;
  font-size: 1em;
  cursor: pointer;
}

.guide-notice-delete-btn:hover {
  background: #a71d2a;
}

/* ========================================
   Step-4 누락된 스타일들
   ======================================== */

/* 연락처 테이블 스타일 */
.contact-list table.contact-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  margin-bottom: 0;
}

.contact-list th,
.contact-list td {
  padding: 10px 8px;
  text-align: left;
  border-bottom: 1px solid #f0f0f0;
  font-size: 15px;
}

.contact-list th {
  background: #f8f9fa;
  font-weight: 600;
  color: #333;
}

.contact-list tr.contact-item {
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
}

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

.contact-list td button.btn-remove-contact {
  padding: 4px 10px;
  font-size: 13px;
  border-radius: 5px;
  background: #f8d7da;
  color: #c82333;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.contact-list td button.btn-remove-contact:hover {
  background: #f5c6cb;
}

/* 기존 .contact-item의 flex 해제 (tr에 적용될 때) */
.contact-list tr.contact-item {
  display: table-row;
  align-items: initial;
  justify-content: initial;
  padding: 0;
}

/* contact-list 테이블 텍스트 정렬 */
.contact-list th,
.contact-list td {
  text-align: left;
}

/* 연락처 테이블 스타일 */
.contact-list table.contact-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  margin-bottom: 0;
}

.contact-list th,
.contact-list td {
  padding: 10px 8px;
  text-align: left;
  border-bottom: 1px solid #f0f0f0;
  font-size: 15px;
}

.contact-list th {
  background: #f8f9fa;
  font-weight: 600;
  color: #333;
}

.contact-list tr.contact-item {
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
}

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

.contact-list td button.btn-remove-contact {
  padding: 4px 10px;
  font-size: 13px;
  border-radius: 5px;
  background: #f8d7da;
  color: #c82333;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.contact-list td button.btn-remove-contact:hover {
  background: #f5c6cb;
}

/* 기존 .contact-item의 flex 해제 (tr에 적용될 때) */
.contact-list tr.contact-item {
  display: table-row;
  align-items: initial;
  justify-content: initial;
  padding: 0;
}

/* contact-list 테이블 텍스트 정렬 */
.contact-list th,
.contact-list td {
  text-align: left;
}

/* 이미지 미리보기 스타일 */
.preview-images {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.preview-image-item {
  border-radius: 8px;
  overflow: hidden;
  max-width: 100%;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
}

.preview-image-item img {
  width: 100%;
  height: auto;
  display: block;
}

/* 발송 시간 옵션 활성화 상태 */
.send-time-option.active {
  border-color: #7c6ae6;
  background: #f0f0ff;
  box-shadow: 0 0 0 2px #e0e7ff;
}

/* 관리자 내부 네비게이션 */
.admin-nav {
  display: flex;
  background: white;
  border-radius: 12px;
  padding: 10px;
  margin-bottom: 25px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow-x: auto;
  gap: 5px;
}

.admin-nav-item {
  flex: 1;
  min-width: 120px;
}

.admin-nav-item a {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px 10px;
  text-decoration: none;
  color: #666;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-align: center;
  gap: 8px;
}

.admin-nav-item a:hover {
  background: #f8f9fa;
  color: #333;
  transform: translateY(-2px);
}

.admin-nav-item.active a {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
}

.admin-nav-item i {
  font-size: 20px;
  margin-bottom: 5px;
}

.admin-nav-item span {
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

/* Enhanced List Section - Consistent with admin-section */
.admin-list-section {
  background: white;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 30px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.admin-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.admin-list-header h2 {
  margin: 0;
  color: #333;
  font-size: 20px;
  font-weight: 700;
}

.admin-list-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.admin-result-count {
  color: #666;
  font-size: 14px;
}

/* Enhanced Table Container */
.admin-table-container {
  overflow-x: auto;
}

/* Enhanced Pagination */
.admin-pagination-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid #e9ecef;
  margin-top: 20px;
}

.admin-pagination-info {
  color: #666;
  font-size: 14px;
}

.admin-pagination-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-page-numbers {
  display: flex;
  gap: 5px;
}

.admin-page-number {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: white;
  color: #333;
}

.admin-page-number.active {
  background: #007bff;
  color: white;
  border-color: #007bff;
}

.admin-page-number:hover {
  background: #f8f9fa;
}

/* ========================================
   My Messages Modal Styles
   ======================================== */
#myMessagesModal.all-addressbooks-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

#myMessagesModal.all-addressbooks-modal.active {
  display: flex;
}

#myMessagesModal .all-addressbooks-modal-content {
  background: white;
  border-radius: 12px;
  width: 90%;
  max-width: 1200px;
  height: 700px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

#myMessagesModal .all-addressbooks-modal-header {
  padding: 20px;
  border-bottom: 1px solid #e1e5e9;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#myMessagesModal .all-addressbooks-modal-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin: 0;
}

#myMessagesModal .all-addressbooks-modal-close {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #666;
  padding: 5px;
}

#myMessagesModal .all-addressbooks-modal-close:hover {
  color: #333;
}

#myMessagesModal .all-addressbooks-modal-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: auto;
  padding: 24px 32px;
}

/* my-message-card styles moved to components.css */
.btn-pagination-prev:hover,
.btn-pagination-next:hover,
.btn-pagination-number:hover {
  background: #f8f9fa;
  border-color: #007bff;
  color: #007bff;
  box-shadow: 0 2px 6px rgba(0, 123, 255, 0.2);
}

.btn-pagination-current {
  background: #007bff;
  color: #fff;
  border-color: #007bff;
  box-shadow: 0 2px 6px rgba(0, 123, 255, 0.3);
}

.my-messages-pagination-info {
  font-size: 14px;
  color: #666;
  margin-top: 8px;
  font-weight: 500;
}

/* ========================================
   나의 문자함 스타일들
   ======================================== */

/* 나의 문자함 그리드 */
.my-messages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

/* 빈 상태 */
.my-messages-empty {
  text-align: center;
  padding: 60px 20px;
  color: #6c757d;
  background: #f8f9fa;
  border-radius: 12px;
  border: 2px dashed #dee2e6;
  margin-bottom: 16px;
  display: block;
}

.my-messages-empty p {
  font-size: 16px;
  margin: 0;
  margin-bottom: 8px;
}

.my-messages-empty small {
  font-size: 14px;
  color: #adb5bd;
}

/* 로딩 상태 */
.my-messages-loading {
  text-align: center;
  padding: 40px 20px;
  color: #6c757d;
}

.my-messages-loading i {
  font-size: 24px;
  color: #5e42ec;
  margin-bottom: 12px;
  display: block;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.my-messages-pagination-container {
  text-align: center;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid #e9ecef;
  background: #fff;
  position: sticky;
  bottom: 0;
  z-index: 10;
}

/* 나의 문자함 페이지네이션 스타일 */
.my-messages-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.btn-pagination-prev,
.btn-pagination-next,
.btn-pagination-number,
.btn-pagination-current {
  padding: 8px 12px;
  border: 1px solid #e0e0e0;
  background: #fff;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  min-width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.btn-pagination-prev:hover,
.btn-pagination-next:hover,
.btn-pagination-number:hover {
  background: #f8f9fa;
  border-color: #007bff;
  color: #007bff;
  box-shadow: 0 2px 6px rgba(0, 123, 255, 0.2);
}

.btn-pagination-current {
  background: #007bff;
  color: #fff;
  border-color: #007bff;
  box-shadow: 0 2px 6px rgba(0, 123, 255, 0.3);
}

.my-messages-pagination-info {
  font-size: 14px;
  color: #666;
  margin-top: 8px;
  font-weight: 500;
}
