/* Congdy Auth Shortcodes - White background, black accent */
.ccp-auth-wrap{
    background:#fff;
    border:1px solid #111;
    padding:20px;
    max-width:720px;
    margin:0 auto;
    box-sizing:border-box;
    font-family:inherit;
    color:#111;
}

.ccp-auth-wrap--loggedin{
    margin-top:-24px;
}

.ccp-auth-title{
    font-size:20px;
    line-height:1.3;
    margin:0 0 14px 0;
    font-weight:700;
}

.ccp-auth-subtitle{
    font-size:16px;
    margin:18px 0 10px 0;
    font-weight:700;
}

.ccp-auth-text{
    font-size:14px;
    line-height:1.6;
    margin:0;
}

.ccp-auth-form{
    margin-top:10px;
}

.ccp-auth-label{
    display:block;
    font-size:13px;
    margin:12px 0 6px 0;
    font-weight:600;
}

.ccp-auth-input{
    width:100%;
    box-sizing:border-box;
    border:1px solid #111;
    padding:12px 12px;
    border-radius:0;
    outline:none;
    background:#fff;
    color:#111;
    font-size:14px;
    line-height:1.2;
}

.ccp-auth-input:focus{
    box-shadow:0 0 0 2px rgba(0,0,0,.08);
}

.ccp-auth-btn{
    display:inline-flex;
    width:100%;
    box-sizing:border-box;
    justify-content:center;
    align-items:center;
    padding:12px 12px;
    border:1px solid #111;
    background:#111;
    color:#fff;
    font-weight:700;
    font-size:14px;
    text-decoration:none;
    cursor:pointer;
    border-radius:0;
    margin-top:14px;
}

.ccp-auth-btn:hover{
    background:#000;
}

.ccp-auth-btn--ghost{
    background:#fff;
    color:#111;
}

.ccp-auth-btn--ghost:hover{
    background:#f5f5f5;
}

/* still black accent (no red), just a slightly stronger hover */
.ccp-auth-btn--danger:hover{
    background:#eee;
}

.ccp-auth-check{
    display:flex;
    align-items:center;
    gap:8px;
    margin-top:10px;
    font-size:13px;
    user-select:none;
}

.ccp-auth-check input{
    width:16px;
    height:16px;
    margin:0;
}

.ccp-auth-footer{
    margin-top:14px;
    font-size:13px;
    display:flex;
    gap:8px;
    flex-wrap:wrap;
    align-items:center;
}

.ccp-auth-muted{
    color:#333;
}

.ccp-auth-link{
    color:#111;
    text-decoration:underline;
    font-weight:700;
}

.ccp-auth-spacer{ height:10px; }

.ccp-auth-notice{
    padding:12px 12px;
    border:1px solid #111;
    margin:0 0 12px 0;
    font-size:13px;
    line-height:1.5;
    border-radius:0;
    background:#fff;
    color:#111;
}

.ccp-auth-notice--success{
    border-color:#0a7d2c;
    color:#0a7d2c;
    background:#f1fff4;
}

.ccp-auth-notice--info{
    border-color:#111;
    color:#111;
    background:#fff;
}

.ccp-auth-notice--error{
    border-color:#111;
}

.ccp-auth-card{
    border:1px solid #111;
    padding:12px;
    margin-top:10px;
}

/* Countdown card should be tighter */
.ccp-auth-card.ccp-cd{ margin-top:0 !important; }

.ccp-auth-row{
    display:flex;
    justify-content:space-between;
    gap:12px;
    padding:8px 0;
    border-bottom:1px solid rgba(0,0,0,.12);
}

.ccp-auth-row:last-child{ border-bottom:none; }

.ccp-auth-row__label{
    font-size:13px;
    font-weight:700;
}

.ccp-auth-row__value{
    font-size:13px;
    text-align:right;
    word-break:break-all;
}

/* members table */
.ccp-auth-tablewrap{
    overflow:auto;
    border:1px solid #111;
    margin-top:14px;
}

.ccp-auth-table{
    width:100%;
    border-collapse:collapse;
    min-width:640px;
}

.ccp-auth-table th,
.ccp-auth-table td{
    border-bottom:1px solid rgba(0,0,0,.12);
    padding:10px;
    text-align:left;
    font-size:13px;
    vertical-align:top;
}

.ccp-auth-table thead th{
    font-weight:700;
    background:#fff;
    border-bottom:1px solid #111;
}

.ccp-auth-table td form{
    margin:0;
}

.ccp-auth-pagination{
    display:flex;
    gap:8px;
    flex-wrap:wrap;
    margin-top:14px;
}

.ccp-auth-page{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:34px;
    padding:8px 10px;
    border:1px solid #111;
    color:#111;
    text-decoration:none;
    font-size:13px;
    font-weight:700;
}

.ccp-auth-page:hover{ background:#f5f5f5; }
.ccp-auth-page.is-current{ background:#111; color:#fff; }

@media (max-width: 480px){
    .ccp-auth-wrap{ padding:16px; }
    .ccp-auth-wrap--loggedin{ margin-top:-16px; }
    .ccp-auth-table{ min-width:560px; }
}


/* ===== Points / Referral / Countdown ===== */
.ccp-auth-help{
  font-size: 12px;
  color: rgba(0,0,0,.65);
  margin-top: 6px;
}

.ccp-auth-badge{
  display:inline-flex;
  align-items:center;
  padding: 6px 10px;
  border: 1px solid rgba(0,0,0,.25);
  background: #f6f7f9;
  font-weight: 800;
  letter-spacing: .2px;
}

.ccp-auth-code{
  display:inline-block;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  padding: 4px 8px;
  border: 1px solid rgba(0,0,0,.2);
  background: #fafafa;
}

.ccp-auth-miniBtn{
  margin-left: 8px;
  border: 1px solid #111;
  background: #111;
  color: #fff;
  padding: 6px 10px;
  font-size: 12px;
  cursor: pointer;
}
.ccp-auth-miniBtn:hover,
.ccp-auth-miniBtn:active,
.ccp-auth-miniBtn:focus{
  background: #111;
  color: #fff;
}


/* Account page: points/referral code should be plain text (no box) */
.ccp-auth-wrap--account .ccp-auth-badge,
.ccp-auth-wrap--account .ccp-auth-code{
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  font-size: 22px;
  font-weight: 900;
}
.ccp-auth-wrap--account .ccp-auth-code{
  font-family: inherit;
}
.ccp-auth-badge--ledger{
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background: #111;
  color: #fff;
  border: 1px solid #111;
  padding: 8px 12px;
  font-weight: 900;
  line-height: 1;
  border-radius: 0;
}


.ccp-cd{
  position: relative;
}

.ccp-cd__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.ccp-cd__title{
  font-size: 16px;
  font-weight: 800;
}

.ccp-cd__meta{
  font-size: 12px;
  font-weight: 800;
  padding: 4px 8px;
  border: 1px solid rgba(0,0,0,.18);
  background: #fff;
}

.ccp-cd__meta--reward{ margin-bottom:0 !important; }

.ccp-cd__timer{
  font-size: 18px !important;
  font-weight: 900;
  text-align: center;
  padding: 0 !important;
  border: 1px solid rgba(0,0,0,.18);
  background: #fff;
  margin-bottom: 0 !important;
}
.ccp-cd__btn{ margin-top:0 !important; padding-top:4px !important; padding-bottom:4px !important; }

.ccp-cd__btn[disabled]{
  opacity: .55;
  cursor: not-allowed;
}


/* Single-border compact boxes for points/countdown */
.ccp-auth-wrap--points{ padding:16px; max-width:560px; }
.ccp-auth-wrap--points .ccp-auth-card{ border:0; padding:0; margin-top:10px; }
.ccp-auth-wrap--points .ccp-auth-row{ padding:10px 0; }
.ccp-auth-wrap--countdown{ padding:8px; max-width:520px; }
.ccp-auth-wrap--countdown .ccp-auth-card{ border:0; padding:0; margin-top:6px; }
.ccp-auth-wrap--countdown .ccp-auth-title{ font-size:14px; margin:0 0 6px 0; }
.ccp-auth-wrap--countdown .ccp-cd__timer{ font-size:18px !important; padding:0 !important; border:0; margin:3px 0 !important; }
.ccp-auth-wrap--countdown .ccp-auth-help{ font-size:12px; }
.ccp-auth-wrap--countdown .ccp-auth-btn{ padding:8px 10px; font-size:12px; }
.ccp-auth-wrap--countdown .ccp-cd__meta{ margin-bottom:4px; }



.ccp-cd__metaItem{ font-size:12px; }
.ccp-cd__metaSep{ opacity:.45; margin: 0 6px; }


/* Countdown: current points row (top) */
.ccp-cd__cur{ display:flex; align-items:center; justify-content:space-between; gap:10px; margin:0 0 4px 0; }
.ccp-cd__curLabel{ font-size:13px; opacity:.75; }
.ccp-cd__curPoints{
  display:inline-block;
  font-size:16px;
  font-weight:900;
  letter-spacing:.2px;
  padding:0;
  border:0;
  background:transparent;
}


/* ===== Countdown gating + modal ===== */
.ccp-cd__btn.is-disabled{
  opacity:.45;
  cursor:not-allowed;
}
.ccp-cd__btn.is-disabled:hover{
  background:#111;
}
.ccp-cd__guideBtn{
  margin-top:4px;
}


/* Guide button: white -> black invert on hover */
.ccp-cd__guideBtn{
  background:#fff !important;
  color:#111 !important;
  border-color:#111 !important;
  margin-top:3px !important;
  padding-top:4px !important;
  padding-bottom:4px !important;
}
.ccp-cd__guideBtn:hover,
.ccp-cd__guideBtn:focus{
  background:#111 !important;
  color:#fff !important;
  border-color:#111 !important;
}

/* Share button (countdown): black (no hover change) */
.ccp-cd__shareBtn{
  background:#111 !important;
  color:#fff !important;
  border-color:#111 !important;
  margin-top:4px !important;
  padding-top:4px !important;
  padding-bottom:4px !important;
}
.ccp-cd__shareBtn:hover,
.ccp-cd__shareBtn:focus,
.ccp-cd__shareBtn:active{
  background:#111 !important;
  color:#fff !important;
  border-color:#111 !important;
}


/* Simple centered modal */
.ccp-modal{
  position:fixed;
  left:0; top:0;
  width:100vw; height:100vh;
  background:rgba(0,0,0,.55);
  display:none;
  align-items:center;
  justify-content:center;
  padding:16px;
  z-index:99999;
}
.ccp-modal.is-open{ display:flex; }
.ccp-modal__panel{
  width:min(520px, 100%);
  background:#fff;
  border:2px solid #111;
  border-radius:0;
  padding:18px 16px;
  box-shadow:0 10px 30px rgba(0,0,0,.2);
}
.ccp-modal__text{
  font-size:14px;
  line-height:1.55;
  color:#111;
  white-space:pre-line;
}
.ccp-modal__btn{
  width:100%;
  margin-top:14px;
}


/* ===== Points ledger modal (account) ===== */
.ccp-ledger__title{
  font-size: 16px;
  font-weight: 900;
  margin-bottom: 10px;
}
.ccp-ledger__cols{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 4px;
}
@media (max-width: 520px){
  .ccp-ledger__cols{ grid-template-columns: 1fr; }
}
.ccp-ledger__h{
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 6px;
}
.ccp-ledger__list{
  border: 1px solid rgba(0,0,0,.15);
  padding: 8px 10px;
  max-height: 240px;
  overflow:auto;
}
.ccp-ledger__item{
  display:flex;
  flex-direction:column;
  gap: 2px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0,0,0,.1);
}
.ccp-ledger__item:last-child{ border-bottom:0; }
.ccp-ledger__top{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap: 10px;
}
.ccp-ledger__delta{
  font-weight: 900;
  white-space:nowrap;
}
.ccp-ledger__meta{
  font-size: 12px;
  color: rgba(0,0,0,.75);
  line-height: 1.35;
}
.ccp-ledger__date{
  font-size: 11px;
  color: rgba(0,0,0,.55);
  white-space:nowrap;
}
.ccp-ledger__empty{
  font-size: 12px;
  color: rgba(0,0,0,.6);
}

/* Share button (countdown) */
.ccp-cd__shareBtn{ margin-top:6px; }

/* Ensure ledger badge stays black even under theme button styles */
.ccp-auth-wrap--account .ccp-auth-badge--ledger{
  background:#111 !important;
  color:#fff !important;
  border-color:#111 !important;
}

/* ===== CCP: disable hover state changes for key buttons ===== */
.ccp-cd__btn:not(.is-ready):hover,
.ccp-cd__btn:not(.is-ready):focus,
.ccp-cd__btn:not(.is-ready):active{
  background:#111 !important;
  color:#fff !important;
  border-color:#111 !important;
}

.ccp-cd__guideBtn:hover,
.ccp-cd__guideBtn:focus,
.ccp-cd__guideBtn:active{
  background:#fff !important;
  color:#111 !important;
  border-color:#111 !important;
}

.ccp-cd__shareBtn:hover,
.ccp-cd__shareBtn:focus,
.ccp-cd__shareBtn:active{
  background:#111 !important;
  color:#fff !important;
  border-color:#111 !important;
}


/* ===== Countdown: claim button ready state (active) ===== */
.ccp-cd__btn.is-ready{
  background:#5372d9 !important;
  border-color:#5372d9 !important;
  color:#fff !important;
  opacity:1 !important;
}
.ccp-cd__btn.is-ready:hover,
.ccp-cd__btn.is-ready:focus,
.ccp-cd__btn.is-ready:active{
  background:#5372d9 !important;
  border-color:#5372d9 !important;
  color:#fff !important;
}


/* timer spacing override */
.ccp-cd__timer{ margin:3px 0 !important; }
