body {
    background: url('background.png') no-repeat center center fixed;
    background-size: cover;
    color: #ffffff;
    font-family: 'Vazir', Arial, sans-serif;
    margin: 0;
    padding: 15px;
    direction: ltr;
    text-align: left;
}

header {
    text-align: center;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #ffd700, #ffeb3b);
    padding: 10px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.logo {
    width: 80px;
    height: 80px;
    animation: pulse 3s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

h1, h2 {
    font-size: 24px;
    margin: 10px 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

#language-select {
    background: #333;
    color: #fff;
    border: none;
    padding: 5px;
    border-radius: 10px;
    margin-top: 10px;
    font-family: 'Vazir', Arial, sans-serif;
}

.tabs {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
}

.tab-button {
    background: #ffd700;
    color: #1a1a1a;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    border-radius: 15px;
    transition: 0.3s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 5px;
}

.tab-button:hover, .tab-button.active {
    background: linear-gradient(90deg, #ffd700, #ffeb3b);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.info-box {
    background: rgba(51, 51, 51, 0.9);
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
}

.info-box p {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 10px 0;
}

.icon {
    font-size: 20px;
}

button {
    background: #ffd700;
    color: #1a1a1a;
    border: none;
    padding: 12px 20px;
    margin: 5px;
    cursor: pointer;
    border-radius: 15px;
    transition: 0.3s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 5px;
}

button:hover {
    background: linear-gradient(90deg, #ffd700, #ffeb3b);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

button:disabled {
    background: #808080;
    cursor: not-allowed;
}

.gradient-button {
    background: linear-gradient(90deg, #ffd700, #ffeb3b);
}

#pie-chart, #line-chart {
    margin: 20px auto;
    display: block;
    background: rgba(51, 51, 51, 0.9);
    padding: 10px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.progress {
    width: 100%;
    height: 12px;
    background: #444;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.3);
}

.progress::afterIt {
    content: '';
    display: block;
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #ffd700, #ffeb3b);
    transition: width 1s;
}

#invite-list {
    list-style: none;
    padding: 0;
}

#invite-list li {
    padding: 12px;
    margin: 5px 0;
    background: rgba(51, 51, 51, 0.9);
    border-radius: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Styles for welcome pages */
.welcome-container {
    display: block;
}

.welcome-page {
    display: none;
    text-align: center;
    padding: 20px;
    background: rgba(51, 51, 51, 0.9);
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
}

.welcome-page.active {
    display: block;
}

.welcome-page p {
    font-size: 16px;
    line-height: 1.5;
}

.welcome-page button {
    margin-top: 20px;
    font-size: 18px;
}

@keyframes slideIn {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}