/* ١. بنچینەکان و فۆنت */
@font-face {
    font-family: 'Speda';
    src: url('Speda.ttf') format('truetype');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Speda', Tahoma, sans-serif;
    background-color: #f0f2f5;
    color: #1a202c;
    line-height: 1.6;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    direction: rtl;
    padding: 20px 0;
	align-items: center;
}

.container {
    width: 95%;
    max-width: 1200px;
}

/* ٢. سەرپەڕە (Header) */
.main-header {
    text-align: center;
    margin-bottom: 40px;
}

.company-logo {
    width: 90px;
    height: 90px;
    border-radius: 20px;
    margin-bottom: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.main-header h1 {
    font-size: 2.2rem;
    color: #2d3748;
    margin-bottom: 5px;
	 text-align: center;
}

.main-header p {
    color: #718096;
    font-size: 1rem;
}

/* ٣. ستایلی نوێی بەشی بەکارهێنەر و هەڵبژاردن */
.selection-title {
    margin-top: 30px;
    display: flex;

    align-items: center;
	justify-content: center;
    gap: 25px;

}


.selection-title::before, .selection-title::after {
    content: "";
    height: 1px;
    width: 80px;
    background: linear-gradient(to right, transparent, #cbd5e0, transparent);
}
/* بەشی ناوی بەکارهێنەر و دەرچوون */
.user-bar {
    display: flex;
    align-items: center;
    gap: 15px;
    background: white;
    padding: 6px 20px;
    border-radius: 50px;
    border: 1px solid #edf2f7;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
	font-family: 'Speda';
}

.user-name {
    color: #07143b;
    font-weight: bold;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px; /* مەودای نێوان ئایکۆن و نووسینەکە */
}



.user-name i {
    font-size: 1.1rem;
    color: #4a5568; /* ڕەنگێکی خۆڵەمێشی تۆخ و ناسک بۆ ئایکۆنەکە */
}


.logout-btn {
    background: none;
    border: none;
    color: #e53e3e;
    font-family: 'Speda';
    cursor: pointer;
    font-weight: bold;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: 0.3s;
}

.logout-btn:hover {
    color: #c53030;
    transform: scale(1.05);
}

.v-line {
    width: 1px;
    height: 15px;
    background: #cbd5e0;
}

/* دەقی هەڵبژاردن */
.selection-text {
    background: #fa0343;
    color: white;
    padding: 6px 30px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(250, 3, 67, 0.2);
}



/* ٤. کارتەکان (Dashboard Grid) */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    width: 100%;
    margin-top: 20px;
}

.card {
    background: #ffffff;
    border-radius: 22px;
    padding: 20px;
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    border: 1px solid #edf2f7;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    border-color: #3182ce;
}

.card-icon {
    width: 65px;
    height: 65px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    margin-left: 15px;
    flex-shrink: 0;
}

.icon-blue { background-color: #ebf8ff; color: #3182ce; }
.icon-purple { background-color: #faf5ff; color: #805ad5; }
.icon-green { background-color: #f0fff4; color: #38a169; }
.icon-img { background-color: #f8f9fa; }

.card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center; /* نووسینەکان دەخاتە ناوەڕاستی کارتەکە */
    text-align: center;  /* دڵنیایی دەدات کە دێڕەکان لە ناوەڕاست دەست پێ دەکەن */
}

.card-content h3 {
    font-size: 1.1rem;
    margin-bottom: 3px;
    color: #2d3748;
}

.card-content p {
    font-size: 0.8rem;
    color: #718096;
}

/* ٥. فووتەر */
.main-footer {
    margin-top: 50px;
    text-align: center;
    padding-bottom: 20px;
}

.dev-tag {
    background: white;
    padding: 8px 25px;
    border-radius: 50px;
    font-size: 0.85rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    color: #4a5568;
}

.dev-tag strong { color: #c60532; }