﻿

.GridView {
    border-collapse: collapse;
    width: 100%;
    font-family: 'iransansweb' !important  ;
    margin: 20px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 120, 215, 0.1);
}


.GridViewHeader {
    background: linear-gradient(135deg, #0078D7 0%, #005a9e 100%);
    color: white !important;
    padding: 14px 10px;
    font-weight: 600!important;
    font-size: 14px!important;
    text-align: center;
    border: none;
    position: sticky;
    top: 0;
    z-index: 10;
    height: 40px;
}


.GridViewRow {
    padding: 7px 6px;
    border-bottom: 1px solid #e0e0e0;
    font-size: 14px!important;
  /*  font-weight:600!important;*/
    text-align: right;
    vertical-align: middle;
    transition: all 0.3s ease;
    background-color: #ffffff;
}


.GridViewAlternatingRow {
    padding: 7px 6px;
    border-bottom: 1px solid #e0e0e0;
    font-size: 14px !important;
    text-align: right;
    /*font-weight: 600 !important;*/
    vertical-align: middle;
    transition: all 0.3s ease;
    background-color: #f8fafc;
}


.GridViewSelectedRow {
    background-color: #e3f2fd !important;
    font-weight: bold;
    color: #005a9e;
    transform: scale(1.01);
    box-shadow: 0 2px 8px rgba(0, 120, 215, 0.2);
}


.GridViewEmptyDataRow {
    text-align: center;
    padding: 40px;
    color: #666;
    font-style: italic;
    background: #f9f9f9;
    font-size: 14px;
}


.GridViewFooter {
    background: linear-gradient(135deg, #005a9e 0%, #004275 100%);
    color: white;
    padding: 14px 12px;
    font-weight: bold;
    text-align: center;
}


.pgr {
    background: linear-gradient(135deg, #0078D7 0%, #005a9e 100%);
    padding: 15px;
    border-radius: 0 0 8px 8px;
    text-align: center;
}

    .pgr a {
        color: white !important;
        padding: 8px 16px;
        margin: 0 4px;
        border-radius: 6px;
        background: rgba(255, 255, 255, 0.2);
        transition: all 0.3s ease;
        text-decoration: none;
        display: inline-block;
    }

        .pgr a:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: translateY(-2px);
        }

    .pgr span {
        background: white;
        color: #0078D7 !important;
        padding: 8px 16px;
        border-radius: 6px;
        font-weight: bold;
        margin: 0 4px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }


.GridViewRow:hover,
.GridViewAlternatingRow:hover {
    background-color: #c3e0f6 !important;
    cursor: pointer;
  /*  transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 120, 215, 0.1);*/
}

استایل برای ستون‌های خاص
.GridView .dirtest {
    background: #e8f4ff;
    font-weight: 600;
    color: #005a9e;
}


@media (max-width: 768px) {
    .GridView {
        font-size: 12px;
    }

    .GridViewHeader,
    .GridViewRow,
    .GridViewAlternatingRow {
        padding: 10px 8px;
    }

    .pgr a {
        padding: 6px 12px;
        margin: 0 2px;
        font-size: 12px;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.GridView {
    animation: fadeIn 0.6s ease-out;
}
