﻿html {
  font-size: 14px;
}
.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}
.user-info-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border-left: 4px solid var(--primary-color);
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}
/* تنسيقات عامة */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #121212;
    color: #e0e0e0;
    margin: 0;
    padding: 0;
}
.language-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.language-btn.active {
    background: #6c5ce7;
    border-color: #6c5ce7;
    font-weight: 500;
}
.language-btn {
    padding: 6px 12px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.logout-btn:hover {
    background: #c02b2b;
    transform: translateY(-2px);
}
.logout-btn {
    background: #d63031;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 8px 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}
.user-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}
.user-avatar i {
    font-size: 20px;
    color: #6c5ce7;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(108, 92, 231, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .user-panel {
        flex-direction: column;
        align-items: stretch;
    }

    .user-info, .balance-info, .user-actions {
        order: initial !important;
        width: 100%;
        justify-content: center;
        margin: 5px 0;
    }

    .balance-info {
        display: flex;
        align-items: center;
        gap: 15px;
    }
}





.device-icon {
    font-size: 28px;
    color: var(--primary-color);
    margin-right: 15px;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
}

.text-muted {
    color: var(--text-secondary) !important;
}

.user-panel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    border-left: 4px solid #6c5ce7;
}

.main-container {
    width: 100%;
    background: #1e1e1e;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: fadeInUp 0.5s ease;
    border: 1px solid #333;
}

.main-header {
    background: var(--bs-primary);
    color: white;
    padding: 1.5rem;
    text-align: center;
    position: relative;
}
    .main-header h2 {
        font-weight: 700;
        font-size: 1.5rem;
    }
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@media (max-width: 480px) {
    .main-container {
        margin: 1rem;
        max-width: calc(100% - 2rem);
    }
}


.main-body {
    padding: 2rem;
}


.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
}

    .form-control:focus {
        outline: none;
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.2);
    }





.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

    .form-group label {
        display: block;
        margin-bottom: 5px;
        color: #e0e0e0;
    }

    .form-group input {
        width: 100%;
        padding: 10px;
        border-radius: 5px;
        border: 1px solid #444;
        background-color: #333;
        color: #e0e0e0;
    }







.balance-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 184, 148, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .balance-avatar i {
        font-size: 20px;
        color: var(--success-color);
    }
