/* Base Styles */
:root {
    --primary-color: #0052ff;
    --secondary-color: #e4e4e4;
    --success-color: #2db755;
    --danger-color: #fc5c53;
    --warning-color: #fdcb6e;
    --info-color: #0984e3;
    --light-color: #f5f6fa;
    --dark-color: #2d3436;
    --text-color: #333;
    --text-light: #777;
    --border-color: #ddd;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: #f9f9f9;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white !important;
    border: none;
}

.btn-primary:hover {
    background-color: #000;
    color: white;
}

.btn-secondary {
    background-color: white;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-success {
    background-color: var(--success-color);
    color: white;
    border: none;
}

.btn-danger {
    background-color: var(--danger-color);
    color: white;
    border: none;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-sm {
    padding: 5px 10px;
    font-size: 0.9rem;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-link {
    background: none;
    border: none;
    color: var(--primary-color);
    padding: 0;
    text-decoration: underline;
}

.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
}

.alert-danger {
    background-color: #ffebee;
    color: var(--danger-color);
    border-left: 4px solid var(--danger-color);
}

.alert-success {
    background-color: #e8f5e9;
    color: var(--success-color);
    border-left: 4px solid var(--success-color);
}

.text-center {
    text-align: center;
}

.text-success {
    color: var(--success-color);
}

.text-danger {
    color: var(--danger-color);
}

/* Header Styles */
.main-header {
    background-color: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 15px 0;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.logo span {
    font-weight: 600;
    color: var(--dark-color);
}

.main-nav{
    line-height:2.5;
}
.main-nav a {
    margin-left: 10px;
    margin-bottom: 10px;
    padding-left: 5px;
    padding-right: 5px;
    color: var(--primary-color);
    font-weight: 500;
    background-color: transparent;
    border: 1px solid var(--primary-color);
}
.main-nav a.active{
        color: var(--secondary-color);
    background-color: var(--primary-color);
}
.main-nav a:hover {
    color: var(--secondary-color);
    background-color: var(--primary-color);
}
.feature-card{
padding-bottom: 0.5em;
}
/* Footer Styles */
.main-footer {
    background-color: var(--dark-color);
    color: white;
    padding: 40px 0 20px;
    margin-top: 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #ccc;
}

.footer-section ul li a:hover {
    color: white;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: #aaa;
    font-size: 0.9rem;
}

/* Auth Pages */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 200px);
    padding: 40px 0;
}

.auth-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 30px;
    width: 100%;
    max-width: 500px;
}

.auth-card h1 {
    margin-bottom: 20px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-text {
    font-size: 0.8rem;
    color: var(--text-light);
}

.auth-links {
    margin-top: 20px;
    text-align: center;
}

.auth-links p {
    margin-bottom: 10px;
}

/* Dashboard Styles */
.dashboard-container {
    padding: 30px 0;
}

.welcome-section h1 {
    margin-bottom: 10px;
}

.join-date {
    color: var(--text-light);
    margin-bottom: 20px;
}

.stats-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 20px;
    text-align: center;
}

.stat-card h3 {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-color);
}

.stat-detail {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 5px;
}

.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.action-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.action-card:hover {
    transform: translateY(-5px);
}

.action-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.action-card h3 {
    margin-bottom: 10px;
}

.action-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.recent-activity {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 992px) {
    .recent-activity {
        grid-template-columns: 1fr 1fr;
    }
}

.activity-column h2 {
    margin-bottom: 20px;
}

.activity-list {
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.activity-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-icon {
    margin-right: 15px;
}

.activity-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.activity-details {
    flex: 1;
}

.activity-title {
    font-weight: 500;
    margin-bottom: 5px;
}

.activity-meta {
    font-size: 0.8rem;
    color: var(--text-light);
}

.status-pending {
    color: var(--warning-color);
}

.status-approved {
    color: var(--success-color);
}

.status-rejected {
    color: var(--danger-color);
}

.activity-note {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 5px;
}

/* Submit Content Page */
.submit-container {
    padding: 30px 0;
}

.submit-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 992px) {
    .submit-content {
        grid-template-columns: 1fr 1fr;
    }
}

.guideline-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 20px;
    margin-bottom: 20px;
}

.guideline-card h3 {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.guideline-card h3 i {
    margin-right: 10px;
    color: var(--primary-color);
}

.guideline-card ul {
    list-style-position: inside;
    padding-left: 5px;
}

.guideline-card ul li {
    margin-bottom: 5px;
}

/* Rewards Page */
.rewards-container {
    padding: 30px 0;
        min-height: 600px;
}

.rewards-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.summary-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 20px;
    text-align: center;
}

.summary-card h3 {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.summary-value {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-color);
}

.rewards-table-container {
    overflow-x: auto;
}

.rewards-table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    box-shadow: var(--shadow);
    border-radius: 10px;
    overflow: hidden;
}

.rewards-table th, 
.rewards-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.rewards-table th {
    background-color: var(--primary-color);
    color: white;
    font-weight: 500;
}

.rewards-table tr:last-child td {
    border-bottom: none;
}

.rewards-table tr:hover {
    background-color: #f5f5f5;
}

/* Admin Styles */
.admin-dashboard {
    padding: 30px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.dashboard-sections {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 992px) {
    .dashboard-sections {
        grid-template-columns: 1fr 1fr;
    }
}

.dashboard-section {
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 20px;
}
.admin-container {
    min-height: 500px;
}
.admin-table-container {
    overflow-x: auto;
    margin-top: 20px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th, 
.admin-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.admin-table th {
    background-color: #f5f5f5;
    font-weight: 500;
}

.admin-table tr:last-child td {
    border-bottom: none;
}

.admin-table tr:hover {
    background-color: #f9f9f9;
}
@media (max-width: 768px) {
    .admin-table-container {
        overflow-x: visible;
    }
    
    .admin-table {
        display: flex;
        flex-direction: column;
        min-width: 0;
    }
    
    .admin-table thead {
        display: none;
    }
    
    .admin-table tbody {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    .admin-table tr {
        display: flex;
        flex-direction: column;
        border: 1px solid var(--border-color);
        border-radius: 8px;
        padding: 15px;
        background: white;
        box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    }
    
    .admin-table td {
        display: flex;
        justify-content: space-between;
        padding: 8px 0;
        border: none;
        text-align: right;
    }
    
    .admin-table td:before {
        content: attr(data-label);
        font-weight: 500;
        margin-right: 15px;
    }
    
    .admin-table td:last-child {
        border-bottom: none;
    }
}
.filter-options {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.filter-options a {
    padding: 8px 15px;
    border-radius: 5px;
    background-color: #f5f5f5;
    color: var(--text-color);
}

.filter-options a.active {
    background-color: var(--primary-color);
    color: white;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow: auto;
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    position: relative;
}

.close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

/* Submission History Styles */
.submission-history {
    margin: 30px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #eaeaea;
}

.submission-history h3 {
    margin-bottom: 15px;
    color: #333;
}

.history-list {
    display: grid;
    gap: 10px;
}

.history-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: white;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
@media (max-width: 992px) {
    .history-item {
        flex-direction:column;
    }
}
.history-platform {
    width: 120px;
    font-weight: 500;
}

.history-platform i {
    margin-right: 8px;
    color: #6c5ce7;
}

.history-url {
    flex: 1;
}

.history-url a {
    color: #6c5ce7;
    text-decoration: none;
}

.history-url a:hover {
    text-decoration: underline;
}

.history-status {
    width: 120px;
    text-align: center;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 500;
}

.status-pending {
    background-color: #fff3cd;
    color: #856404;
}

.status-approved {
    background-color: #d4edda;
    color: #155724;
}

.status-rejected {
    background-color: #f8d7da;
    color: #721c24;
}

.history-reward {
    margin-left: 5px;
    color: #28a745;
    font-weight: bold;
}

.history-date {
    width: 100px;
    text-align: right;
    color: #6c757d;
    font-size: 0.9em;
}

.history-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.page-link {
    padding: 5px 12px;
    background: #6c5ce7;
    color: white;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9em;
}

.page-link:hover {
    background: #5649d1;
}

.page-info {
    font-size: 0.9em;
    color: #6c757d;
}

.no-submissions {
    color: #6c757d;
}