/* Withdrawal Page Styles */
:root {
  --primary-color: #5f41ff;
  --secondary-color: #f9e8ef;
  --danger-color: #cf1b1b;
  --text-color: #333;
  --gray-light: #eee;
  --white: #fff;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Top Section - Available Balance */
.sc_top {
  background: linear-gradient(145deg, var(--white), var(--secondary-color));
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}

.total_assets {
  text-align: center;
}

.total_assets h2 {
  font-size: 1.25rem;
  color: var(--text-color);
  margin-bottom: 12px;
  font-weight: 500;
}

.total_dollar {
  font-size: 2rem;
  font-weight: 600;
  color: var(--primary-color);
}

/* Alert Section */
.deposit_alert {
  background: var(--white);
  border-radius: 16px;
  padding: 24px;
  margin: 24px 0;
  box-shadow: var(--shadow);
}

.deposit_alert h4 {
  color: var(--danger-color);
  font-size: 1.25rem;
  margin-bottom: 16px;
  font-weight: 600;
}

.deposit_alert p {
  color: var(--text-color);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 12px;
}

/* Withdrawal Form Section */
.asset_bx {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.as_ul02 {
  padding: 24px;
}

.asser_top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}



.le_tx h6 {
  font-size: 1.1rem;
  color: var(--text-color);
  font-weight: 500;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-color);
  margin-bottom: 8px;
}



.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(95, 65, 255, 0.1);
}

.text-sm {
  font-size: 0.875rem;
  color: var(--danger-color);
  margin-top: 8px;
}

/* Submit Button */
.asset_btn {
  padding: 0 24px 24px;
}

.withdrawal_btn {
  width: 100%;
  background: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 12px;
  padding: 16px;
  font-size: 1rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.withdrawal_btn:hover {
  background: #4930d9;
  transform: translateY(-1px);
}

.withdrawal_btn img {
  width: 20px;
  height: 20px;
}

/* History Section */
.asset_history {
  background: var(--white);
  border-radius: 16px;
  margin-top: 32px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.sub_title03 {
  font-size: 1.25rem;
  color: var(--text-color);
  font-weight: 600;
  margin-bottom: 20px;
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table tr {
  border-bottom: 1px solid var(--gray-light);
}

.table td {
  padding: 16px 12px;
  font-size: 0.95rem;
  color: var(--text-color);
}

.ms-4 {
  margin-left: 1rem;
}

.text-center {
  text-align: center;
}

.text-sm {
  font-size: 0.875rem;
}

.mb-0 {
  margin-bottom: 0;
}

/* Responsive */
@media (max-width: 540px) {
  .sc_top, .deposit_alert, .asset_bx, .asset_history {
    border-radius: 12px;
    padding: 16px;
  }

  .total_dollar {
    font-size: 1.75rem;
  }

  .deposit_alert h4 {
    font-size: 1.1rem;
  }

  .deposit_alert p {
    font-size: 0.875rem;
  }

  .table td {
    padding: 12px 8px;
    font-size: 0.875rem;
  }
}

/* Banner */
.card-body {
  margin-top: 32px;
  padding: 0 16px;
}

.card-body img {
  width: 100%;
  border-radius: 16px;
  box-shadow: var(--shadow);
}




/* Mining Title Section */
.mining-section {
    padding: 20px 0;
}

.mining-container {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(145deg, #ffffff, #f0f4ff);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 24px;
}

.mining-header {
    text-align: center;
    margin-bottom: 30px;
}

.mining-header h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

.mining-rate {
    color: #666;
    font-size: 14px;
}

.mining-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #4a6bde, #83a4ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.mining-active {
    animation: rotate 4s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.stat-info h3 {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.stat-value {
    font-size: 24px;
    font-weight: bold;
    color: #4a6bde;
}

.progress-container {
    margin-bottom: 30px;
}
.progress-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    color: #666;
    font-size: 14px;
}

.progress-bar {
    height: 30px;
    background: #eef2ff;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, #4a6bde, #83a4ff);
    transition: width 0.5s ease;
    position: relative;
}

.progress-glow {
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.8), rgba(255,255,255,0));
    animation: glow 2s infinite;
}

@keyframes glow {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}

.mining-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.mining-buttons button {
    padding: 12px 24px;
    border-radius: 10px;
    border: none;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
}

.btn-start {
    background: linear-gradient(45deg, #4a6bde, #83a4ff);
}

.btn-start:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(74, 107, 222, 0.2);
}

.btn-stop {
    background: linear-gradient(45deg, #dc3545, #ff6b6b);
}

.btn-stop:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(220, 53, 69, 0.2);
}

.btn-claim {
    background: linear-gradient(45deg, #28a745, #5dd879);
}

.btn-claim:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(40, 167, 69, 0.2);
}

.btn-claim.disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.pulse-button {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.target-amount {
    font-size: 12px;
    margin-left: 5px;
    opacity: 0.8;
}

/* 모바일 대응 */
@media (max-width: 480px) {
    .mining-container {
        margin: 0 15px;
        padding: 20px;
    }

    .mining-stats {
        grid-template-columns: 1fr;
    }

    .mining-buttons {
        flex-direction: column;
    }

    .mining-buttons button {
        width: 100%;
    }

    .stat-card {
        padding: 15px;
    }

    .stat-value {
        font-size: 20px;
    }
}
mining-section {
    padding: 20px 0;
}

.mining-container {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(145deg, #ffffff, #f0f4ff);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 24px;
}

.mining-header {
    text-align: center;
    margin-bottom: 30px;
}

.mining-header h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

.mining-rate {
    color: #666;
    font-size: 14px;
}

.mining-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #4a6bde, #83a4ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.mining-active {
    animation: rotate 4s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.stat-info h3 {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.stat-value {
    font-size: 24px;
    font-weight: bold;
    color: #4a6bde;
}

.progress-container {
    margin-bottom: 30px;
}

.mining-alert {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 15px 30px;
    border-radius: 8px;
    z-index: 1000;
    animation: slideDown 0.3s ease-out;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@keyframes slideDown {
    from { transform: translate(-50%, -100%); }
    to { transform: translate(-50%, 0); }
}


  /* 스왑 페이지 전용 스타일 */
    .coming-soon-container {
        background: white;
        border-radius: 12px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        padding: 2rem;
        margin: 2rem auto;
        max-width: 600px;
        text-align: center;
    }

    .pancake-logo {
        width: 120px;
        height: 120px;
        margin: 0 auto 1.5rem;
        background: #f8fafc;
        border-radius: 60px;
        padding: 1rem;
    }

    .coming-soon-title {
        font-size: 1.5rem;
        font-weight: bold;
        color: #1f2937;
        margin-bottom: 1rem;
    }

    .coming-soon-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        color: #2563eb;
        margin-bottom: 1rem;
    }

    .coming-soon-message {
        color: #4b5563;
        font-size: 1rem;
        line-height: 1.5;
    }

    