/* استایل‌های عمومی */
.chord-form-container, .user-chords-container {
    max-width: 1000px;
    margin: 30px auto;
    padding: 25px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.chord-form-container h3, 
.user-chords-container h3 {
    margin-top: 0;
    color: #333;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

/* فرم */
.chord-form .form-group {
    margin-bottom: 20px;
}

.chord-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #444;
}

.chord-form input[type="text"],
.chord-form select,
.chord-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.chord-form .submit-btn {
    background: #4CAF50;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

.chord-form .submit-btn:hover {
    background: #45a049;
}

/* جدول */
.table-responsive {
    overflow-x: auto;
    margin: 20px 0;
}

.chords-table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
    font-size: 14px;
}

.chords-table th {
    background: #f5f5f5;
    padding: 12px;
    text-align: center;
    font-weight: 600;
}

.chords-table td {
    padding: 10px;
    border-bottom: 1px solid #eee;
    text-align: center;
}

.chords-table tr:hover {
    background-color: #f9f9f9;
}

.chords-table a {
    color: #2196F3;
    text-decoration: none;
}

.chords-table a:hover {
    text-decoration: underline;
}

/* مودال */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: #777;
}

.close-modal:hover {
    color: #333;
}

/* دکمه بارگذاری بیشتر */
.load-more-btn {
    display: block;
    margin: 20px auto;
    padding: 10px 25px;
    background: #2196F3;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

.load-more-btn:hover {
    background: #0b7dda;
}

/* آمار */
.chords-stats {
    margin: 15px 0;
    font-size: 16px;
}

.total-views {
    color: #555;
}

.total-views strong {
    color: #2196F3;
}

/* پیام‌ها */
.success-message {
    color: #4CAF50;
    padding: 10px;
    text-align: center;
}