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

body {
    font-family: 'Tahoma', sans-serif;
    background-color: #ffffff;
    color: #333;
    direction: rtl;
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    background: #ffd700;
    padding: 15px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

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

.logo {
    font-size: 1.8em;
    font-weight: bold;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    text-decoration: none;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    margin-right: 20px;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #fffae6;
}

.btn-register {
    background: #fff;
    color: #d4ac0d !important;
    padding: 8px 15px;
    border-radius: 20px;
}

/* Flash messages */
.flash {
    padding: 12px 20px;
    margin: 20px 0;
    border-radius: 8px;
    font-weight: bold;
}

.flash.success {
    background: #d4edda;
    color: #155724;
}

.flash.error {
    background: #f8d7da;
    color: #721c24;
}

.flash.info {
    background: #d1ecf1;
    color: #0c5460;
}
.btn-warning {
    background: #e67e22;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
}
/* Footer */
footer {
    background: #ffd700;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    margin-top: 40px;
    position: fixed;
    bottom: 0;
    width: 100%;
}

/* Streamer cards on home */
.streamer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.streamer-card {
    background: #fff;
    border: 1px solid #ffe680;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.2s;
}

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

.streamer-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.streamer-card .info {
    padding: 15px;
    text-align: center;
}

.streamer-card h3 {
    color: #b7950b;
    margin-bottom: 5px;
}

.btn-view {
    color: #b7950b;
    text-decoration: underline;
}

/* Profile page */
.profile-banner-wrapper {
    width: 100%;
    max-height: 300px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 20px;
}

.profile-banner {
    width: 100%;
    object-fit: cover;
}

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

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid #ffd700;
    margin-top: -60px;
    background: #fff;
}

.bio {
    margin: 10px 0;
}

.donate-btn {
    display: inline-block;
    background: #ffd700;
    color: #fff;
    padding: 12px 30px;
    font-size: 1.2em;
    border-radius: 30px;
    text-decoration: none;
    margin-top: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: background 0.3s;
}

.donate-btn:hover {
    background: #f1c40f;
}

/* Forms */
.form-container {
    max-width: 450px;
    margin: 40px auto;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border: 1px solid #ffe680;
}

.form-container h2 {
    color: #b7950b;
    text-align: center;
    margin-bottom: 25px;
}

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

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

.form-group input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1em;
}

.btn-submit {
    width: 100%;
    background: #ffd700;
    color: white;
    border: none;
    padding: 12px;
    font-size: 1.1em;
    border-radius: 30px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-submit:hover {
    background: #f1c40f;
}

.form-footer {
    text-align: center;
    margin-top: 15px;
}

/* Dashboard layout (sidebar) */
.dashboard-layout {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    min-height: 70vh;
}

.sidebar {
    width: 250px;
    background: #fff9e6;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #ffe680;
}

.user-info {
    text-align: center;
    margin-bottom: 25px;
}

.avatar-small {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid #ffd700;
    display: block;
    margin: 0 auto 10px;
}

.side-nav a {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    border-radius: 8px;
    margin-bottom: 8px;
    transition: background 0.2s;
}

.side-nav a.active,
.side-nav a:hover {
    background: #ffd700;
    color: white;
}

.dashboard-content {
    flex: 1;
}

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

.stat-card {
    background: #fff;
    border: 1px solid #ffe680;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.stat-number {
    font-size: 2em;
    color: #b7950b;
}

.stat-label {
    margin-top: 5px;
    color: #666;
}

/* Donations table */
.donation-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.donation-table th,
.donation-table td {
    padding: 10px;
    border: 1px solid #ffe680;
    text-align: center;
}

.donation-table th {
    background: #fff9e6;
    color: #b7950b;
}

/* Filters row */
.filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filters input,
.filters select {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

/* Tools grid */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.tool-card {
    background: #fff;
    border: 1px solid #ffe680;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.tool-card h3 {
    color: #b7950b;
    margin-bottom: 10px;
}

.btn-outline {
    display: inline-block;
    padding: 10px 25px;
    border: 2px solid #ffd700;
    border-radius: 30px;
    color: #ffd700;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s, color 0.3s;
    margin-top: 10px;
}

.btn-outline:hover {
    background: #ffd700;
    color: white;
}
