body {
    background-color: var(--background-color);
    font-family: 'Vazirmatn', sans-serif;
    direction: rtl;
    text-align: right;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    transition: background-color 0.3s ease, color 0.3s ease;
}
a:hover{
    text-decoration: none;
}
h3 {
    color: var(--text-color);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    font-weight: 900;
}

.card {
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.theme-toggle {
    display: flex;
    align-items: center;
    cursor: pointer;
    background-color: var(--card-background);
    border-radius: 20px;
    padding: 5px 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.theme-toggle span {
    font-size: 24px;
    transition: color 0.3s ease;
}

.theme-toggle span:first-child {
    color: var(--icon-color);
    margin-left: 10px;
}

.theme-toggle span:last-child {
    color: var(--icon-color);
}
.material-icons.md-48 { 
    font-size: 48px;
    color: var(--icon-color);
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.system-link {
    text-decoration: none;
    color: inherit;
}
.list-group
{
  padding:0;
}

.system-link:hover .material-icons.md-48,
.system-link:hover .card-title {
    color: var(--icon-hover-color);
}

.card-body {
    background-color: var(--card-background);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.card-title {
    font-size: 1.2rem;
    color: var(--icon-color);
    margin: 0;
    transition: color 0.3s ease;
}

:root {
    --background-color: #f5f5f5;
    --text-color: #212121;
    --icon-color: #3f51b5;
    --icon-hover-color: #1a237e;
    --card-background: #ffffff;
}

body.dark-mode {
    --background-color: #202124;
    --text-color: #e8eaed;
    --icon-color: #8ab4f8;
    --icon-hover-color: #aecbfa;
    --card-background: #303134;
}




.topright
{
    position: fixed;
    top:20px;
    left: 20px;;
}