/* Custom Dashboard Styles */
.card-stats {
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.card-stats:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.package-badge {
    background: linear-gradient(135deg, #310419 0%, #4a0628 100%);
    color: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.package-price {
    font-size: 16px;
    font-weight: bold;
    margin-top: 10px;
}

.package-price .currency {
    font-size: 16px;
    vertical-align: top;
}

.package-price .amount {
    font-size: 36px;
}

.package-price .period {
    font-size: 16px;
    opacity: 0.8;
}

.package-features ul {
    margin: 20px 0;
    text-align: left;
}

.package-features li {
    padding: 5px 0;
    font-size: 14px;
}

.package-option {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
}

.package-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.package-header h5 {
    margin: 0;
    color: #333;
}

.price {
    font-weight: bold;
    color: var(--primary-color);
}

.package-desc {
    color: #666;
    font-size: 13px;
    margin-bottom: 10px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}

.feature-list li {
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
}

.feature-list li:before {
    content: "• ";
    color: var(--primary-color);
    font-weight: bold;
}

.todo-list {
    max-height: 300px;
    overflow-y: auto;
}

.todo-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.todo-item:last-child {
    border-bottom: none;
}

.todo-item .checkbox {
    flex-grow: 1;
    margin: 0;
}

.todo-item label {
    margin: 0;
    font-weight: normal;
    cursor: pointer;
}

.todo-item input[type="checkbox"]:checked + label {
    text-decoration: line-through;
    color: #999;
}

.todo-priority {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: bold;
}

.todo-priority.high {
    background: #ff6b6b;
    color: white;
}

.todo-priority.medium {
    background: #feca57;
    color: white;
}

.todo-priority.low {
    background: #48dbfb;
    color: white;
}

.todo-priority.completed {
    background: #1dd1a1;
    color: white;
}

.badge {
    display: inline-block;
    padding: 3px 8px;
    font-size: 11px;
    font-weight: bold;
    border-radius: 12px;
}

.badge-success {
    background: #1dd1a1;
    color: white;
}

.badge-warning {
    background: #feca57;
    color: white;
}

.badge-danger {
    background: #ff6b6b;
    color: white;
}

.card {
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.card .header {
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.card .header .title {
    color: #333;
    font-size: 16px;
    margin: 0;
}

.card .header .category {
    color: #666;
    font-size: 13px;
    margin: 5px 0 0 0;
}

.text-primary { color: #310419 !important; }
.text-success { color: #310419 !important; }
.text-warning { color: #feca57 !important; }
.text-info { color: #48dbfb !important; }
.text-danger { color: #ff6b6b !important; }

.icon-big {
    font-size: 48px;
    padding: 20px;
}

.numbers {
    text-align: right;
    padding: 20px 0;
}

.numbers p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

.numbers b {
    font-size: 16px;
    color: #333;
}

.stats {
    font-size: 12px;
    color: #666;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: #f8f9fa;
}

.table-hover tbody tr:hover {
    background-color: #e9ecef;
}

@media (max-width: 768px) {
    .card-stats {
        margin-bottom: 20px;
    }
}

/* Package Modal Styles */
.package-modal {
    border: none;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.package-modal-header {
    background: linear-gradient(135deg, #310419 0%, #4a0628 100%);
    color: white;
    border: none;
    padding: 25px 30px;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.package-modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="20" cy="80" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.1;
}

.package-modal-header .modal-title {
    font-size: 22px;
    font-weight: 600;
    margin: 0;
    z-index: 1;
    position: relative;
    flex-grow: 1;
}

.package-modal-header .close {
    color: white;
    opacity: 0.8;
    font-size: 28px;
    z-index: 1;
    position: relative;
    margin-left: auto;
    flex-shrink: 0;
}

.package-modal-header .close:hover {
    opacity: 1;
}

.package-modal-body {
    padding: 0;
    max-height: 70vh;
    overflow-y: auto;
}

.package-hero {
    background: linear-gradient(135deg, #310419 0%, #4a0628 100%);
    color: white;
    padding: 40px 30px;
    text-align: center;
    position: relative;
}

.package-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.1) 0%, transparent 50%);
}

.package-hero-content {
    position: relative;
    z-index: 1;
}

.package-hero h2 {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 20px 0;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.package-price-large {
    font-size: 48px;
    font-weight: 800;
    margin: 20px 0;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.package-price-large .currency {
    font-size: 16px;
    vertical-align: top;
    margin-right: 5px;
}

.package-price-large .period {
    font-size: 20px;
    opacity: 0.8;
    margin-left: 5px;
}

.package-subtitle {
    font-size: 18px;
    opacity: 0.9;
    margin: 0;
}

.package-features-detailed,
.package-comparison,
.package-benefits {
    padding: 30px;
    border-bottom: 1px solid #eee;
}

.package-features-detailed:last-child,
.package-comparison:last-child,
.package-benefits:last-child {
    border-bottom: none;
}

.package-features-detailed h3,
.package-comparison h3,
.package-benefits h3 {
    color: #333;
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
}

.package-features-detailed h3::before,
.package-comparison h3::before,
.package-benefits h3::before {
    content: '';
    width: 4px;
    height: 20px;
    background: linear-gradient(135deg, #310419 0%, #4a0628 100%);
    margin-right: 10px;
    border-radius: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.feature-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    border-left: 4px solid #310419;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.feature-card .feature-icon {
    font-size: 32px;
    color: #310419;
    margin-bottom: 15px;
}

.feature-card h4 {
    color: #333;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 10px 0;
}

.feature-card p {
    color: #666;
    font-size: 14px;
    margin: 0;
    line-height: 1.5;
}

.comparison-table {
    overflow-x: auto;
}

.comparison-table table {
    margin: 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.comparison-table th {
    background: linear-gradient(135deg, #310419 0%, #4a0628 100%);
    color: white;
    font-weight: 600;
    padding: 15px;
    border: none;
}

.comparison-table td {
    padding: 12px 15px;
    border: none;
    border-bottom: 1px solid #eee;
}

.comparison-table tr:hover {
    background: #f8f9fa;
}

.benefits-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid #1dd1a1;
}

.benefit-item .benefit-icon {
    font-size: 20px;
    color: #1dd1a1;
    margin-right: 15px;
    margin-top: 2px;
}

.benefit-item .benefit-text {
    flex-grow: 1;
}

.benefit-item h5 {
    color: #333;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 5px 0;
}

.benefit-item p {
    color: #666;
    font-size: 14px;
    margin: 0;
    line-height: 1.4;
}

.package-modal-footer {
    background: #f8f9fa;
    border: none;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-upgrade {
    background: linear-gradient(135deg, #310419 0%, #4a0628 100%);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(49, 4, 25, 0.3);
}

.btn-upgrade:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(49, 4, 25, 0.4);
}

/* Custom Modal Styling */
.modal-dialog.modal-lg {
    max-width: 900px;
}

@media (max-width: 768px) {
    .package-modal-body {
        max-height: 60vh;
    }
    
    .package-hero {
        padding: 30px 20px;
    }
    
    .package-hero h2 {
        font-size: 28px;
    }
    
    .package-price-large {
        font-size: 36px;
    }
    
    .package-features-detailed,
    .package-comparison,
    .package-benefits {
        padding: 20px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-list {
        grid-template-columns: 1fr;
    }
} 