@charset "utf-8";

/* ─────────────────────────
/html/push_send.css
   푸시 권한 없음 안내
───────────────────────── */
.push-no-auth {
    max-width: 420px;
    margin: 40px auto;
    padding: 28px 24px;
    text-align: center;

    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 16px;

    box-shadow: 0 6px 20px rgba(0,0,0,.06);
}

.push-no-auth-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.push-no-auth h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #1f2937;
}

.push-no-auth p {
    font-size: 14px;
    line-height: 1.6;
    color: #4b5563;
    margin-bottom: 8px;
}

.push-no-auth p.desc {
    font-size: 13px;
    color: #6b7280;
    margin-top: 10px;
}

.push-no-auth strong {
    color: #2563eb;
}

.push-no-auth .btn-home {
    display: inline-block;
    margin-top: 18px;
    padding: 10px 18px;

    background: #2563eb;
    color: #fff;
    border-radius: 999px;
    font-size: 13px;
    text-decoration: none;
}

.push-no-auth .btn-home:hover {
    background: #1d4ed8;
}

.push-my-auth {
    margin-bottom: 18px;
    padding: 14px 16px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 13px;
}

.push-my-auth strong {
    display: block;
    margin-bottom: 6px;
    color: #1f2937;
}

.push-my-auth ul {
    margin: 0;
    padding-left: 18px;
}

.push-my-auth li {
    line-height: 1.6;
    color: #374151;
}

.push-my-log {
    margin-top: 28px;
    padding: 14px 16px;
    background: #0f172a;
    border-radius: 10px;
    color: #e5e7eb;
    font-size: 12px;
}

.push-my-log strong {
    display: block;
    margin-bottom: 8px;
    color: #93c5fd;
}

.push-my-log ul {
    margin: 0;
    padding-left: 18px;
}

.push-my-log li {
    margin-bottom: 4px;
    font-family: monospace;
}

/* =========================
   푸시 발송 테이블
========================= */
.push-send-wrap .tbl_frm01 {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    background: #fff;
}

.push-send-wrap .tbl_frm01 table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.push-send-wrap .tbl_frm01 th {
    width: 90px;
    padding: 14px 12px;
    background: #f8fafc;
    color: #1f2937;
    font-size: 14px;
    font-weight: 600;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: top;
}

.push-send-wrap .tbl_frm01 td {
    padding: 14px 12px;
    border-bottom: 1px solid #e5e7eb;
}

.push-send-wrap .tbl_frm01 tr:last-child th,
.push-send-wrap .tbl_frm01 tr:last-child td {
    border-bottom: none;
}

.push-send-wrap input[type="radio"] {
    accent-color: #2563eb;
    transform: scale(1.15);
    margin-right: 6px;
}

.push-send-wrap label {
    font-size: 15px;
    font-weight: 500;
    margin-right: 16px;
    cursor: pointer;
}

.push-send-wrap select {
    width: 100%;
    max-width: 240px;
    padding: 10px 36px 10px 12px;
    font-size: 15px;
    border-radius: 10px;
    border: 2px solid #93c5fd;
    background-color: #f8fafc;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='%236b7280' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    appearance: none;
}

.push-send-wrap select:focus {
  outline: none;
  border-color: #2563eb;
  background-color: #fff;
  box-shadow: 0 0 0 2px rgba(37,99,235,.15);
}

.push-send-wrap .frm_input,
.push-send-wrap textarea {
    width: 100%;
    padding: 10px 12px;
    font-size: 15px;
    border-radius: 10px;
    border: 1.5px solid #d1d5db;
    background: #fff;
}

.push-send-wrap .frm_input:focus,
.push-send-wrap textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37,99,235,.15);
}

.push-send-wrap textarea {
    min-height: 120px;
    resize: vertical;
}

.push-send-wrap .frm_info {
    margin-top: 6px;
    font-size: 13px;
    color: #64748b;
}

.push-my-log code {
  display: block;
  white-space: pre-wrap;
  word-break: break-all;
}

/* =========================
   푸시 미리보기 카드
========================= */
.push-preview-card {
    max-width: 360px;
    padding: 14px 16px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 12px rgba(0,0,0,.05);
}

.push-preview-title {
    font-size: 15px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 6px;
}

.push-preview-body {
    font-size: 14px;
    color: #374151;
    line-height: 1.4;
    margin-bottom: 6px;
}

.push-preview-url {
    font-size: 12px;
    color: #2563eb;
    word-break: break-all;
}

.push-target-count {
    margin-top: 8px;
    font-size: 14px;
    color: #374151;
}

.push-target-count strong {
    color: #2563eb;
}

/* =========================
   푸시 발송 확인 모달
========================= */
.push-confirm-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.push-confirm-box {
    width: 90%;
    max-width: 360px;
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
}

.push-confirm-box h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.push-confirm-box p {
    font-size: 15px;
    line-height: 1.6;
}

.push-confirm-box strong {
    color: #2563eb;
}

.push-confirm-box .btns {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.push-confirm-box button {
    flex: 1;
    padding: 10px 0;
    border-radius: 10px;
    font-size: 14px;
}

.push-confirm-box .btn-cancel {
    background: #e5e7eb;
}

.push-confirm-box .btn-confirm {
    background: #2563eb;
    color: #fff;
}


/* =========================
   발송 결과 그래프
========================= */
.push-result-graph {
    margin-top: 14px;
    border-radius: 10px;
    overflow: hidden;
    background: #e5e7eb;
}

.push-result-graph .bar {
    padding: 8px 10px;
    font-size: 13px;
    color: #fff;
}

.push-result-graph .success {
    background: #22c55e;
}

.push-result-graph .fail {
    background: #ef4444;
}

.push-send-wrap .btn_test {
    margin-left: 10px;
    padding: 10px 18px;
    font-size: 14px;
    border-radius: 10px;
    background: #fbbf24;
    color: #78350f;
    border: none;
}

/* 버튼 영역 */
.push-btn-wrap{
  display:flex;
  gap:12px;
  margin-top:24px;
  flex-wrap:wrap;
}

/* 공통 버튼 */
.push-btn-wrap button{
  appearance:none;
  border:0;
  border-radius:12px;
  padding:14px 22px;
  font-size:16px;
  font-weight:700;
  cursor:pointer;
  transition:all .18s ease;
  box-shadow:0 6px 14px rgba(0,0,0,.08);
  display:inline-flex;
  align-items:center;
  gap:8px;
}

/* 메인 발송 버튼 */
.btn-push-main{
  background:#2563eb;          /* 신뢰감 있는 블루 */
  color:#fff;
}

.btn-push-main:hover{
  background:#1e40af;
  transform:translateY(-2px);
  box-shadow:0 10px 20px rgba(37,99,235,.25);
}

.btn-push-main:disabled{
  background:#93c5fd;
  cursor:not-allowed;
  box-shadow:none;
  transform:none;
}

/* 테스트 버튼 */
.btn-push-test{
  background:#fbbf24;          /* 경고 아님 + 테스트 느낌 */
  color:#422006;
}

.btn-push-test:hover{
  background:#f59e0b;
  transform:translateY(-2px);
  box-shadow:0 10px 20px rgba(251,191,36,.35);
}

/* 모바일 */
@media (max-width:480px){
  .push-btn-wrap{
    flex-direction:column;
  }
  .push-btn-wrap button{
    width:100%;
    justify-content:center;
  }
}