/* ============================================
   Pages Enhancement CSS - SSHSlowDns.com
   Supplementary styles for country, server, 
   and create account pages
   ============================================ */

/* Country Cards Enhancement */
.country-card { transition: all 0.3s ease; border-radius: 12px; overflow: hidden; }
.country-card:hover { transform: translateY(-5px); box-shadow: 0 10px 40px rgba(0,0,0,0.15); border-color: #4e73df !important; }
.country-card .flag-img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 3px solid #e3e6f0; transition: all 0.3s; }
.country-card:hover .flag-img { border-color: #4e73df; transform: scale(1.1); }
.country-card .server-count { background: linear-gradient(135deg, #4e73df, #224abe); color: white; padding: 4px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; }
.country-card .card-body { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 25px 15px; }
.country-card .country-name { font-size: 1rem; font-weight: 700; margin-top: 12px; margin-bottom: 8px; color: #333; }
.country-card .card-footer { background: transparent; border-top: 1px solid #e3e6f0; padding: 15px; }
.country-card .btn-select { background: linear-gradient(135deg, #4e73df, #224abe); color: white; border: none; border-radius: 8px; padding: 8px 24px; font-weight: 600; transition: all 0.3s; }
.country-card .btn-select:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(78,115,223,0.4); color: white; }

/* Stats Bar */
.stats-bar { background: white; border-radius: 12px; padding: 15px 25px; box-shadow: 0 2px 15px rgba(0,0,0,0.05); margin-bottom: 30px; }
.stats-bar .stat-item { display: flex; align-items: center; gap: 8px; }
.stats-bar .stat-number { font-size: 1.5rem; font-weight: 700; color: #4e73df; }
.stats-bar .stat-label { font-size: 0.85rem; color: #6c757d; }

/* Server Cards Enhancement */
.server-card-enhanced { border-radius: 12px; border: 1px solid #e3e6f0; transition: all 0.3s; overflow: hidden; background: white; }
.server-card-enhanced:hover { box-shadow: 0 8px 25px rgba(0,0,0,0.1); transform: translateY(-3px); }
.server-card-enhanced .server-header { background: linear-gradient(135deg, #f8f9fc, #eaecf4); padding: 15px; border-bottom: 1px solid #e3e6f0; }
.server-card-enhanced .server-header h5 { margin: 0; font-weight: 700; font-size: 1rem; }
.server-card-enhanced .server-body { padding: 20px; }
.server-card-enhanced .server-body .info-row { display: flex; align-items: center; margin-bottom: 10px; font-size: 0.9rem; }
.server-card-enhanced .server-body .info-row i { width: 20px; color: #4e73df; margin-right: 10px; }
.server-card-enhanced .server-body .info-row code { background: #f0f0f5; padding: 2px 8px; border-radius: 4px; font-size: 0.85rem; }
.server-card-enhanced .server-footer { padding: 15px; border-top: 1px solid #e3e6f0; }
.status-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 5px; }
.status-dot.online { background: #1cc88a; animation: pulse-green 2s infinite; }
.status-dot.offline { background: #e74a3b; }
@keyframes pulse-green { 0%, 100% { box-shadow: 0 0 0 0 rgba(28,200,138,0.4); } 50% { box-shadow: 0 0 0 8px rgba(28,200,138,0); } }

/* Slots Progress */
.slots-bar { height: 6px; border-radius: 3px; background: #eaecf4; overflow: hidden; margin-top: 8px; }
.slots-bar-fill { height: 100%; border-radius: 3px; transition: width 0.5s ease; }
.slots-bar-fill.low { background: linear-gradient(90deg, #1cc88a, #17a673); }
.slots-bar-fill.medium { background: linear-gradient(90deg, #f6c23e, #dda20a); }
.slots-bar-fill.full { background: linear-gradient(90deg, #e74a3b, #be2617); }
.slots-text { font-size: 0.8rem; color: #6c757d; margin-top: 4px; }

/* Port Badges */
.port-badge { display: inline-block; background: #f0f0f5; border-radius: 6px; padding: 4px 10px; font-size: 0.75rem; margin-right: 5px; margin-bottom: 5px; font-weight: 600; color: #4e73df; }

/* Create Form Enhancement */
.create-form-card { border-radius: 16px; box-shadow: 0 10px 40px rgba(0,0,0,0.08); border: none; }
.create-form-card .card-header { background: linear-gradient(135deg, #4e73df, #224abe); color: white; border-radius: 16px 16px 0 0 !important; padding: 20px; text-align: center; }
.create-form-card .card-header h4 { margin: 0; color: white; font-weight: 700; }
.create-form-card .card-body { padding: 30px; }
.create-form-card .form-control { border-radius: 8px; padding: 12px 16px; border: 2px solid #e3e6f0; transition: all 0.3s; }
.create-form-card .form-control:focus { border-color: #4e73df; box-shadow: 0 0 0 3px rgba(78,115,223,0.15); }
.create-form-card .input-group-text { border-radius: 8px 0 0 8px; background: #f8f9fc; border: 2px solid #e3e6f0; border-right: none; font-size: 0.8rem; color: #6c757d; }
.create-form-card .input-group .form-control { border-radius: 0 8px 8px 0; }
.create-form-card .btn-create { background: linear-gradient(135deg, #4e73df, #224abe); border: none; border-radius: 8px; padding: 12px; font-weight: 600; font-size: 1rem; transition: all 0.3s; color: white; width: 100%; }
.create-form-card .btn-create:hover { transform: translateY(-2px); box-shadow: 0 5px 20px rgba(78,115,223,0.4); color: white; }
.create-form-card label { font-weight: 600; color: #333; margin-bottom: 6px; font-size: 0.9rem; }

/* Server Info Card */
.server-info { background: linear-gradient(135deg, #f8f9fc, #eaecf4); border-radius: 12px; padding: 20px; margin-bottom: 20px; border: 1px solid #e3e6f0; }
.server-info-item { display: flex; align-items: center; margin-bottom: 8px; font-size: 0.9rem; }
.server-info-item i { width: 20px; color: #4e73df; margin-right: 10px; }
.server-info-item strong { min-width: 80px; }

/* Result Card */
.result-card { background: linear-gradient(135deg, rgba(28,200,138,0.08), rgba(28,200,138,0.02)); border: 1px solid rgba(28,200,138,0.25); border-radius: 12px; padding: 25px; margin-top: 20px; }
.result-card .result-header { text-align: center; margin-bottom: 20px; }
.result-card .result-header i { color: #1cc88a; font-size: 2rem; }
.result-card .result-header h4 { color: #1cc88a; margin-top: 10px; font-weight: 700; }
.result-card .result-item { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid rgba(0,0,0,0.05); }
.result-card .result-item:last-child { border-bottom: none; }
.result-card .result-item .label { color: #6c757d; font-size: 0.85rem; }
.result-card .result-item .value { font-weight: 600; color: #333; }
.result-card .copy-btn { background: #4e73df; color: white; border: none; border-radius: 6px; padding: 4px 12px; font-size: 0.75rem; cursor: pointer; transition: all 0.2s; }
.result-card .copy-btn:hover { background: #224abe; transform: scale(1.05); }
.result-card .payload-section { margin-top: 15px; }
.result-card .payload-section textarea { border-radius: 8px; border: 1px solid #e3e6f0; font-size: 0.8rem; resize: none; }
.result-card .payload-section .btn-copy-payload { background: linear-gradient(135deg, #1cc88a, #17a673); color: white; border: none; border-radius: 8px; padding: 8px 20px; font-weight: 600; transition: all 0.3s; margin-top: 8px; }
.result-card .payload-section .btn-copy-payload:hover { transform: translateY(-2px); box-shadow: 0 4px 15px rgba(28,200,138,0.4); }

/* Mobile Optimization */
@media (max-width: 768px) {
    .country-card .flag-img { width: 48px; height: 48px; }
    .server-card-enhanced { margin-bottom: 15px; }
    .create-form-card .card-body { padding: 20px; }
    .stats-bar { flex-direction: column; gap: 10px; }
    .result-card .result-item { flex-direction: column; align-items: flex-start; gap: 5px; }
}

/* Section Spacing */
.section-enhanced { padding: 40px 0; }
.section-enhanced .section-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 5px; }
.section-enhanced .section-subtitle { color: #6c757d; margin-bottom: 30px; }

/* Breadcrumb Enhancement */
.breadcrumb-enhanced { background: transparent; padding: 0; margin-bottom: 20px; }
.breadcrumb-enhanced a { color: #4e73df; text-decoration: none; }
.breadcrumb-enhanced a:hover { text-decoration: underline; }
