/**
 * HYIP Monitor Main CSS
 */

/* Additional styles not in style.css */

/* Loading state */
.loading {
    opacity: 0.5;
    pointer-events: none;
}

/* Project Card Styles */
.project-card {
    position: relative;
}

.project-card.hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(79, 195, 247, 0.15);
}

.project-screenshot {
    margin-top: 15px;
    text-align: center;
}

.project-screenshot img {
    max-width: 100%;
    border-radius: 5px;
    border: 1px solid #1a237e;
}

.project-plans {
    background: #0e1633;
    padding: 10px 15px;
    border-radius: 5px;
    margin-bottom: 15px;
    font-size: 13px;
    color: #b0bec5;
}

.project-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.project-class {
    background: #1565c0;
    color: #fff;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 11px;
    margin-left: 10px;
}

/* Single Project Styles */
.project-single {
    max-width: 100%;
}

.project-header-single {
    background: linear-gradient(135deg, #141c3a 0%, #1a237e 100%);
    padding: 30px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.project-title-row {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.project-title-row h1 {
    font-size: 28px;
    color: #4fc3f7;
}

.rating-large {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stars-large {
    color: #ffc107;
    font-size: 24px;
}

.rating-number {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}

.project-content {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 20px;
}

@media (max-width: 900px) {
    .project-content {
        grid-template-columns: 1fr;
    }
}

.project-main {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.project-description {
    background: #141c3a;
    padding: 20px;
    border-radius: 5px;
    border: 1px solid #1a237e;
}

.project-section {
    background: #141c3a;
    padding: 20px;
    border-radius: 5px;
    border: 1px solid #1a237e;
}

.project-section h2 {
    color: #4fc3f7;
    font-size: 18px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #1a237e;
}

.plans-content,
.payout-content {
    white-space: pre-wrap;
    line-height: 1.8;
}

/* Scores Grid */
.scores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.score-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.score-label {
    width: 80px;
    font-size: 13px;
    color: #b0bec5;
}

.score-bar {
    flex: 1;
    height: 8px;
    background: #0e1633;
    border-radius: 4px;
    overflow: hidden;
}

.score-fill {
    height: 100%;
    background: linear-gradient(90deg, #1565c0, #4fc3f7);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.score-value {
    width: 40px;
    text-align: right;
    font-size: 12px;
    color: #78909c;
}

/* Info Box */
.info-box {
    background: #141c3a;
    border: 1px solid #1a237e;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 20px;
}

.info-box h3 {
    color: #4fc3f7;
    font-size: 16px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #1a237e;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(26, 35, 126, 0.5);
}

.info-row:last-child {
    border-bottom: none;
}

.info-row .info-label {
    color: #78909c;
    font-size: 13px;
}

.info-row .info-value {
    color: #eceff1;
    font-size: 13px;
    font-weight: 600;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

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

/* Related Projects */
.related-projects {
    background: #141c3a;
    border: 1px solid #1a237e;
    border-radius: 5px;
    padding: 20px;
}

.related-projects h3 {
    color: #4fc3f7;
    font-size: 16px;
    margin-bottom: 15px;
}

.related-item {
    padding: 10px 0;
    border-bottom: 1px solid #1a237e;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.related-item a {
    color: #4fc3f7;
    font-size: 14px;
}

.related-item .status-paying {
    background: #1b5e20;
    color: #a5d6a7;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 11px;
}

.related-item .status-problem {
    background: #e65100;
    color: #ffcc80;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 11px;
}

.related-item .status-not-paying {
    background: #b71c1c;
    color: #ef9a9a;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 11px;
}

/* Archive Header */
.archive-header {
    background: linear-gradient(135deg, #141c3a 0%, #1a237e 100%);
    padding: 30px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.archive-header h1 {
    color: #4fc3f7;
    font-size: 24px;
    margin-bottom: 10px;
}

.archive-header p {
    color: #b0bec5;
}

/* Comment Styles */
.comment-list {
    list-style: none;
    padding: 0;
}

.comment {
    background: #0e1633;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 15px;
    border-left: 3px solid #1a237e;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.comment-author img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.comment-author .name {
    color: #4fc3f7;
    font-weight: 600;
}

.comment-author .date {
    color: #78909c;
    font-size: 12px;
}

.comment-content {
    color: #b0bec5;
    line-height: 1.6;
}

.comment-reply {
    margin-left: 30px;
    border-left-color: #1565c0;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 30px;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 8px 15px;
    background: #141c3a;
    border: 1px solid #1a237e;
    color: #b0bec5;
    border-radius: 5px;
    transition: all 0.3s;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background: #1a237e;
    color: #4fc3f7;
    border-color: #4fc3f7;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 50px 20px;
    color: #78909c;
    font-size: 16px;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #4fc3f7;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #111b36;
        flex-direction: column;
        z-index: 1000;
    }
    
    .nav-menu.open {
        display: flex;
    }
    
    .nav-menu li ul {
        position: static;
        border: none;
        border-top: 1px solid #1a237e;
    }
}

/* Rating Input */
.rating-input {
    display: flex;
    gap: 5px;
}

.rating-input .star {
    font-size: 24px;
    color: #546e7a;
    cursor: pointer;
    transition: color 0.2s;
}

.rating-input .star:hover,
.rating-input .star.active {
    color: #ffc107;
}

/* Form Styles */
.error {
    border-color: #ef5350 !important;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Status Badges */
.status-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-badge.paying,
.status-paying {
    background: #1b5e20;
    color: #a5d6a7;
}

.status-badge.problem,
.status-problem {
    background: #e65100;
    color: #ffcc80;
}

.status-badge.not-paying,
.status-not-paying {
    background: #b71c1c;
    color: #ef9a9a;
}

/* Pending Amount */
.pending-amount {
    color: #ffa726;
    font-weight: 600;
}

/* Payout Amount */
.payout-amount {
    color: #66bb6a;
    font-weight: 600;
}

/* Widget Projects List */
.widget-projects {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget-projects li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px solid #1a237e;
}

.widget-projects li:last-child {
    border-bottom: none;
}

.project-status-mini {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.project-status-mini.status-paying {
    background: #66bb6a;
}

.project-status-mini.status-problem {
    background: #ffa726;
}

.project-status-mini.status-not-paying {
    background: #ef5350;
}

.widget-projects li a {
    flex: 1;
    color: #4fc3f7;
    font-size: 13px;
}

.widget-projects li .date {
    color: #78909c;
    font-size: 11px;
}