/* Index Page Styles */
:root {
    --primary-color: #310419;
    --primary-dark: #1a020e;
    --primary-light: #4a0628;
    --secondary-color: #6c757d;
    --success-color: #2d8f3a;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --border-color: #e9ecef;
    --shadow: 0 0.125rem 0.25rem rgba(49, 4, 25, 0.075);
    --shadow-lg: 0 0.5rem 1rem rgba(49, 4, 25, 0.15);
    --white: #ffffff;
    --text-muted: #666;
    --text-dark: #333;
}

/* Current Package Card */
.current-package-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: var(--white);
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 6px 20px rgba(49, 4, 25, 0.3);
}

.current-package-content {
    padding: 20px;
}

.current-package-title {
    color: var(--white);
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 20px;
}

.current-package-price {
    color: var(--white);
    margin: 0;
    font-size: 36px;
    font-weight: bold;
}

.current-package-period {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
    font-size: 14px;
}

.current-package-description {
    color: var(--white);
    margin: 0;
    font-size: 16px;
}

.current-package-badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 12px;
    border-radius: 8px;
    margin-top: 8px;
    display: inline-block;
}

.current-package-badge-label {
    color: var(--white);
    font-weight: bold;
    font-size: 12px;
}

.current-package-badge-value {
    color: rgba(255, 255, 255, 0.9);
    font-size: 12px;
}

.current-package-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.current-package-feature {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 12px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.current-package-feature-icon {
    color: var(--primary-color);
    font-size: 16px;
    background: var(--white);
    padding: 4px;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.current-package-feature-text {
    color: var(--white);
    font-size: 12px;
    font-weight: 500;
}

/* Metric Cards */
.metric-card {
    background: var(--light-color);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    border: none;
    box-shadow: 0 2px 10px rgba(49, 4, 25, 0.1);
}

.metric-icon-container {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.metric-icon-container.green-1 {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
}

.metric-icon-container.green-2 {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-light) 100%);
}

.metric-icon-container.green-3 {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
}

.metric-icon-container.green-4 {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-light) 100%);
}

.metric-icon-container.green-5 {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-light) 100%);
}

.metric-icon {
    color: var(--white);
    font-size: 16px;
}

.metric-value {
    color: var(--text-dark);
    margin-bottom: 5px;
    font-weight: bold;
}

.metric-label {
    color: var(--text-muted);
    margin: 0;
    font-size: 14px;
}

/* Package Options */
.package-option {
    border: 1px solid var(--border-color);
    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: var(--text-dark);
}

.price {
    font-weight: bold;
    color: var(--success-color);
}

.package-desc {
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 10px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}

.feature-list li {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.feature-list li:before {
    content: "• ";
    color: var(--success-color);
    font-weight: bold;
}

/* Todo List */
.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 var(--border-color);
}

.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: var(--white);
}

.todo-priority.medium {
    background: #feca57;
    color: var(--white);
}

.todo-priority.low {
    background: #48dbfb;
    color: var(--white);
}

.todo-priority.completed {
    background: var(--success-color);
    color: var(--white);
}

/* Badges */
.badge {
    display: inline-block;
    padding: 3px 8px;
    font-size: 11px;
    font-weight: bold;
    border-radius: 12px;
}

.badge-success {
    background: var(--success-color);
    color: var(--white);
}

.badge-warning {
    background: var(--warning-color);
    color: var(--white);
}

.badge-danger {
    background: var(--danger-color);
    color: var(--white);
}

/* Cards */
.card {
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.card .header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
    background: var(--primary-color);
    border-radius: 8px 8px 0 0;
}

.card .header .title, .card .header p {
    color: var(--white) !important;
    font-size: 16px;
    margin: 0;
}

.card .header .category {
    color: var(--text-muted);
    font-size: 13px;
    margin: 5px 0 0 0;
}

/* Text Colors */
.text-primary { 
    color: var(--primary-color) !important; 
}

.text-success { 
    color: var(--success-color) !important; 
}

.text-warning { 
    color: var(--warning-color) !important; 
}

.text-info { 
    color: var(--info-color) !important; 
}

.text-danger { 
    color: var(--danger-color) !important; 
}

/* Buttons */
.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-success {
    background: var(--success-color);
    border-color: var(--success-color);
}

.btn-success:hover {
    background: #1f6b28;
    border-color: #1f6b28;
}

/* Tables */
.table-striped tbody tr:nth-of-type(odd) {
    background-color: var(--light-color);
}

.table-hover tbody tr:hover {
    background-color: #e9ecef;
}

/* Modal Styles */
.modal-header.greenbg {
    background: var(--primary-color);
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header.greenbg .modal-title {
    flex-grow: 1;
    margin: 0;
}

.modal-header.greenbg .close {
    margin-left: auto;
    flex-shrink: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .current-package-features {
        justify-content: flex-start;
        margin-top: 15px;
    }
    
    .metric-card {
        margin-bottom: 20px;
    }
    
    .current-package-content {
        padding: 15px;
    }
    
    .current-package-price {
        font-size: 28px;
    }
    
    .current-package-title {
        font-size: 18px;
    }
}

@media (max-width: 576px) {
    .current-package-features {
        flex-direction: column;
        gap: 10px;
    }
    
    .current-package-feature {
        justify-content: flex-start;
    }
    
    .package-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
} 

/* Utility Classes for extracted inline styles */
.hide-important {
    display: none !important;
}

.hide {
    display: none;
}

.logout-link {
    color: #000 !important;
    margin-left: 15px;
    margin-bottom: 20px;
} 