﻿.settings-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.settings-header {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: 16px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.settings-header h1 {
    font-size: 32px;
    color: #333;
    margin-bottom: 10px;
}

.settings-header p {
    color: #666;
    font-size: 16px;
}

.back-link {
    display: inline-block;
    margin-bottom: 20px;
    color: var(--color-primary);
    text-decoration: none;
    font-size: 14px;
}

.back-link:hover {
    text-decoration: underline;
}

.points-card {
    background: var(--color-primary-gradient);
    color: white;
    padding: 30px;
    border-radius: 16px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 8px 30px rgba(45, 106, 79, 0.3);
}

.points-info {
    display: flex;
    flex-direction: column;
}

.points-label {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 5px;
}

.points-value {
    font-size: 42px;
    font-weight: bold;
}

.buy-points-btn {
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.buy-points-btn:hover {
    background: rgba(255,255,255,0.3);
}

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

.settings-card {
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.settings-card h2 {
    font-size: 18px;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s;
}

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

.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(45, 106, 79, 0.4);
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
}

.points-log-section {
    background: white;
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 18px;
    color: #333;
}

.refresh-btn {
    background: none;
    border: none;
    color: var(--color-primary);
    cursor: pointer;
    font-size: 14px;
}

.refresh-btn:hover {
    text-decoration: underline;
}

.log-list {
    max-height: 400px;
    overflow-y: auto;
}

.log-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 10px;
}

.log-info {
    display: flex;
    flex-direction: column;
}

.log-action {
    font-weight: 500;
    color: #333;
}

.log-desc {
    font-size: 12px;
    color: #999;
    margin-top: 4px;
}

.log-time {
    font-size: 11px;
    color: #aaa;
    margin-top: 2px;
}

.log-points {
    font-size: 18px;
    font-weight: bold;
}

.log-points.positive {
    color: #28a745;
}

.log-points.negative {
    color: #dc3545;
}

.loading {
    text-align: center;
    padding: 40px;
    color: #999;
}

.empty-message {
    text-align: center;
    padding: 40px;
    color: #999;
}

.quick-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.quick-link {
    flex: 1;
    min-width: 150px;
    background: white;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.quick-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.quick-link-icon {
    font-size: 32px;
    display: block;
    margin-bottom: 10px;
}

.quick-link-text {
    color: #333;
    font-weight: 500;
}

@media (max-width: 600px) {
    .settings-grid {
        grid-template-columns: 1fr;
    }
    
    .points-card {
        flex-direction: column;
        text-align: center;
    }
    
    .points-actions {
        margin-top: 20px;
    }
    
    .quick-links {
        flex-direction: column;
    }
}
