
.center {
    justify-content: center;
    align-items: center;
    max-width: 100%; /* برای مقیاس بندی تصویر */
  }

.hr {
    border: none;
    height: 2px;
    background-color: black;
    box-shadow: rgba(17, 17, 26, 0.1) 0px 4px 16px, rgba(17, 17, 26, 0.1) 0px 8px 24px, rgba(17, 17, 26, 0.1) 0px 16px 56px;
    margin: 20px 0;
}  

.responsive-img {
    width: 100%;
    height: auto;
}

.custom-banner {
    background-image: url('../image/power-outage-list-banner.jpg');
       background-size: cover;
    /*background-size: contain;*/
    background-repeat:no-repeat;
    background-position: center;
    width: 100%;
    height: 240px;
    border-radius: 10px;
    box-shadow: rgba(17, 17, 26, 0.1) 0px 4px 16px, rgba(17, 17, 26, 0.1) 0px 8px 24px, rgba(17, 17, 26, 0.1) 0px 16px 56px;
    position: relative;
    overflow: hidden;
    text-align: center;
}


.left {
    width: 100%;
    max-width: 100%;
    max-width: 100%;
}
.Right {
    width: 100%;
    max-width: 100%;
}

@font-face {
    font-family: 'IRANSans';
    src: url('Fonts/IRANSANS.TTF') format('truetype'); 
}  

.centered {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.sub-h-title {
    font-family: 'IRANSans';
    text-shadow: 2px 2px 4px #00000096
}

#subheader .s-border-d {
    display: block;
    margin: 0 auto;
    margin-top: 20px;
    width: 100%;
    height: 1px;
    background: rgba(255,255,255,.1);
}

.s-border-d {
    padding-bottom: 35px;
}

.banner-t {
    white-space: nowrap;
    display: inline-block;
    max-width: 100%;
    padding: 10px;
    box-sizing: border-box;
    color: #FFBF00; /* رنگ متن */
    background-color: rgba(0, 0, 0, 0.02); /* پس زمینه کمی شفاف */
}


/* استایل برای جدول */
.table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

    .table th, .table td {
        /*padding: 12px;*/
        text-align: center;
        font-family: IRANSans;
        border: 1px solid #ddd; /* حاشیه برای سلول‌ها */
        padding: 1px; /* فاصله داخلی برای سلول‌ها */
    
    }

    .table th {
        background-color: #f2f2f2; /* رنگ پس‌زمینه برای سرستون‌ها */
        font-weight: bold;
    }

    .table tr:nth-child(even) {
        background-color: #f9f9f9; /* رنگ پس‌زمینه برای ردیف‌های زوج */
    }

    .table tr:hover {
        background-color: #f1f1f1; /* رنگ پس‌زمینه برای ردیف‌های در حال hover */
    }


.message {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: IRANSans;
    font-size: 18px;
    color: #ff0000; /* رنگ قرمز برای پیام‌های خطا */
    padding: 20px;
    border: 1px solid #ff0000; /* حاشیه قرمز */
    background-color: rgba(255, 0, 0, 0.1); /* پس‌زمینه ملایم */
    border-radius: 5px; /* گوشه‌های گرد */
    margin: 20px 0; /* فاصله بالایی و پایینی */
}

html {
    background-color: white;
    margin-top: 30px;
    margin-bottom: 0px;
    margin-right: 50px;
    margin-left: 50px;
}

bbody {
    background-color: white; /* Light background color */
    font-family: IRANSans;
    min-height: 100vh;
}

.fform-container {
    max-width: 450px; /* Limit the form width */
    margin: 20px auto; /* Center the container vertically and horizontally */
    padding: 10px; /* Add padding around the container */
    background-color: #ffffff; /* White background for the form */
    border-radius: 8px; /* Rounded corners */
    box-shadow: rgba(6, 24, 44, 0.4) 0px 0px 0px 2px, rgba(6, 24, 44, 0.65) 0px 4px 6px -1px, rgba(255, 255, 255, 0.08) 0px 1px 0px inset;
    flex: 1; /* این قسمت تا زمانی که نیاز است فضای باقی‌مانده صفحه را اشغال خواهد کرد */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.footer-message {
    text-align: left;
    font-family: IRANSans;
    margin: 20px 0;
}

.footer {
    padding: 10px; /* فاصله داخلی */
    background-color: #f8f8f8; /* رنگ پس‌زمینه */
}

.input-group {
    margin-bottom: 15px; /* Space between input and button */
    display: flex; /* Enable flexbox layout */
    justify-content: center; /* Center items horizontally */
    margin-bottom: 15px; /* Space betw
        }

            .input-group input {
                border-radius: 0.375rem 0 0 0.375rem; /* Round left corners */
}

    .input-group button {
        border-radius: 0 0.375rem 0.375rem 0; /* Round right corners */
    }


.USEManageMSG {
    text-align: right;
    font-family: IRANSans;
    justify-content: right;
    margin: 20px 0;
}

.stats-box-left {
    width: 220px; /* عرض کارت */
    background: #f8f9fa;
    padding: 10px;
    border-radius: 5px;
    font-size: 13px;
    text-align: right;
    font-family: IRANSans;
    margin-bottom: 10px;
    display: inline-block; /* کنار محتوا قرار می‌گیرد */
    vertical-align: top; /* بالای خط قرار می‌گیرد */
}
.clearfix {
    clear: both;
}


/*.hr {
    margin: 10px 0;
    border: 0;
    border-top: 1px solid #ccc;
}*/

/*.footer-message {
    text-align: center;
    font-family: IRANSans;
    font-size: 12px;
    color: #555;
    margin: 0 0 10px 0;
}*/









 

