/* Registration Part */
:root {
    --primary-color: #343a40;
    --secondary-color: #495057;
    --accent-color: #6c757d;
    --light-bg: #f8f9fa;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
}

.admin-registration {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.registration-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 40px 30px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(52, 58, 64, 0.1);
    backdrop-filter: blur(10px);
    animation: slideUp 0.8s ease-out;
    position: relative;
    overflow: hidden;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header-section {
    text-align: center;
    margin-bottom: 40px;
}

.logo-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.logo-icon i {
    color: var(--white);
    font-size: 50px;
}

.header-title {
    color: var(--primary-color);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.header-subtitle {
    color: var(--accent-color);
    font-size: 14px;
    font-weight: 400;
}

.form-floating {
    position: relative;
    margin-bottom: 25px;
}

.form-control {
    height: 60px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 20px 50px 20px 20px;
    font-size: 16px;
    background-color: var(--light-bg);
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(52, 58, 64, 0.1);
    background-color: var(--white);
    transform: translateY(-2px);
}

.form-control:not(:placeholder-shown) {
    background-color: var(--white);
}

.form-icon {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    color: var(--accent-color);
    font-size: 18px;
    z-index: 10;
}

.password-toggle {
    cursor: pointer;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: var(--primary-color);
}

.btn-register {
    height: 55px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(52, 58, 64, 0.2);
}

.btn-register:active {
    transform: translateY(0);
}

.btn-register::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: width 0.6s, height 0.6s;
    transform: translate(-50%, -50%);
}

.btn-register:active::after {
    width: 300px;
    height: 300px;
}

.btn-primary-result {
    background-color: var(--primary-color);
    color: #ffffff;
}

.login-page-body {
    background-color: var(--primary-color);
}

.main-content {
    padding: 30px 0;
}

.card-header {
    background-color: rgb(51 58 64 / 96%);
    color: #ffffff;
}

.dashboard-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: none;
    margin-bottom: 20px;
}

.user-table {
    margin: 0;
    width: 100%;
}

.user-table th {
    background-color: #f8f9fa;
    color: var(--theme-color);
    font-weight: 600;
    border: none;
    padding: 15px;
}

.user-table td {
    padding: 15px;
    vertical-align: middle;
    border-top: 1px solid #e9ecef;
}

.user-table tr:hover {
    background-color: #f8f9fa;
}

.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.status-online {
    background-color: #d4edda;
    color: #155724;
}

.status-offline {
    background-color: #f8d7da;
    color: #721c24;
}

.delete-btn {
    background-color: #dc3545;
    border: none;
    color: white;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.delete-btn:hover {
    background-color: #c82333;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    color: white;
    text-decoration: none;
}

.user-avatar {
    width: 40px;
    height: 40px;
    background-color: var(--theme-lighter);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    color: white;
}

.user-info {
    display: flex;
    align-items: center;
}

.table-responsive {
    border-radius: 8px;
}


.search-box {
    margin-bottom: 20px;
}

.search-input {
    border-radius: 25px;
    padding: 12px 20px;
    border: 2px solid #e9ecef;
    transition: border-color 0.3s ease;
    width: 100%;
}

.search-input:focus {
    border-color: var(--theme-color);
    box-shadow: 0 0 0 0.2rem rgba(52, 58, 64, 0.25);
    outline: none;
}










body {
    background: #f8f9fa;
}

.btn-all {
    background: #343a40;
    color: #ffffff;
    border-radius: 10px;
    border: none;
    padding: 7px 26px;
    font-weight: 700;
}

.btn-all:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.current-time {
    background: #343a40;
    color: white;
    padding: 7px 14px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    font-family: 'Arial', sans-serif;
    margin: 10px 0;
}

.current-time .date {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}

.current-time .time {
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.current-time .day {
    font-size: 14px;
    opacity: 0.9;
    margin-top: 3px;
}

.message-notification {
    position: fixed;
    bottom: 20px;
    right: -400px;
    min-width: 300px;
    max-width: 400px;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    font-size: 14px;
    font-weight: 500;
    opacity: 0;
    transition: all 0.3s ease-in-out;
    word-wrap: break-word;
}

.message-notification.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-left: 4px solid #28a745;
}

.message-notification.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-left: 4px solid #dc3545;
}

.message-notification.show {
    right: 20px;
    opacity: 1;
}

.message-notification .close-btn {
    float: right;
    font-size: 18px;
    font-weight: bold;
    line-height: 1;
    color: inherit;
    opacity: 0.5;
    cursor: pointer;
    margin-left: 10px;
}

.message-notification .close-btn:hover {
    opacity: 0.8;
}

.headline-main {
    display: flex;
    justify-content: center;
    align-items: center;
}








.login-container {
    max-width: 400px;
    margin: 80px auto;
    padding: 25px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgb(255 255 255 / 38%);
}

/* Preheader styles */
.preheader {
    background: #343a40;
    color: #fff;
    padding: 5px 15px;
    font-size: 14px;
}

.preheader a {
    color: #fff;
    margin-left: 15px;
    text-decoration: none;
}

.preheader a:hover {
    color: #ffc107;
}

/* City page  */
.city-form {
    text-align: center;
}

.city-input-fields {
    width: 11.5%;
    height: 45px;
    border-radius: 9px;
    border: 1px solid;
    text-align: center;
    padding: 10px;
    margin-bottom: 4px;
}

.btn-city {
    display: flex;
    justify-content: center;
    padding: 10px;
}

input:focus-visible {
    outline: 1px solid #11004e;
}

.city-input-fields.valid {
    border: 2px solid #44ff44;
    background-color: #e6ffe6;
}

.city-input-fields:disabled {
    background-color: #f5f5f5;
    cursor: not-allowed;
    opacity: 0.6;
}


.bazar-form-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.bazar-form-container input[type='text'] {
    width: 25%;
    padding: 9px;
    border-radius: 10px;
    text-align: center;
}

.bazar-form-container .btn-all {
    padding: 7px 16px;
}

.body-input {
    border: 2px solid;
    padding-top: 24px;
    padding-bottom: 24px;
    margin-top: 26px;
    margin-bottom: 34px;
}

/* edit City Bazar result */
.structure-container {
    max-width: 950px;
    margin: 9px auto 36px auto;
    padding: 30px;
    background: #4e6070;
    border-radius: 12px;
}

.grid-cell {
    border: 2px solid #fff617;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #666;
    transition: all 0.3s ease;
    min-height: 70px;
}

.open-data-record,
.close-data-record {
    writing-mode: vertical-rl;
    text-orientation: upright;
}

.grid-cell:hover {
    background-color: #e9ecef;
}

/* Structure 1: Single row with 6 columns */
.structure1 {
    display: grid;
    grid-template-columns: 2fr 1fr 4fr 4fr 1fr 2fr;
    gap: 0;
}

.structure1 .grid-cell {
    border-right: none;
}

.structure1 .grid-cell:last-child {
    border-right: 2px solid #fff617;
}

/* Structure 2: Single row with 5 columns */
.structure2 {
    display: grid;
    grid-template-columns: 3fr 2fr 4fr 4fr 2fr;
    gap: 0;
}

.structure2 .grid-cell {
    border-right: none;
}

.structure2 .grid-cell:last-child {
    border-right: 2px solid #fff617;
}

.title {
    text-align: center;
    margin-bottom: 15px;
    color: #ffffff;
    font-weight: bold;
    font-style: italic;
}

.published-result .published {
    color: #ff0000;
}

.published {
    font-size: 17px;
}

.grid-cell.bdbn {
    border-bottom: 0;
}


.main-container {
    max-width: 800px;
    margin: 20px auto;
    border: 2px solid #ff1717;
}

/* Full row without boxes */
.full-row {
    height: 60px;
    border-bottom: 1px solid #ff1717;
    background-color: #ffffff;
}

/* Numbered row with shorter height */
.numbered-row {
    height: 40px;
    border-bottom: 1px solid #ff1717;
}

.numbered-row .col {
    border-right: 1px solid #ff1717;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-size: 14px;
}

.numbered-row .col:last-child {
    border-right: none;
}

/* Regular rows */
.regular-row {
    height: 60px;
    border-bottom: 1px solid #ff1717;
}

.regular-row:last-child {
    border-bottom: none;
}

.regular-row .col {
    border-right: 1px solid #ff1717;
    height: 60px;
    padding: 0;
    background-color: #ffffff;
}

.regular-row .col:last-child {
    border-right: none;
}

.separator {
    height: 1px;
    border-bottom: 1px solid #ff1717;
}

/* Remove Bootstrap default gutters */
.no-gutters {
    margin-right: 0;
    margin-left: 0;
    background-color: #efefef;
}

.no-gutters>.col,
.no-gutters>[class*="col-"] {
    padding-right: 0;
    padding-left: 0;
}
.no-gutters>.col, .city-result-time{
    display: flex;
    justify-content: center;
    align-items: center;
}

.show-main-result-body .headline-main{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    background: #0000a5;
    color: #ffffff;
    margin-top: 10px;
}
.show-main-result-body .headline-main a{
    color: #ffffff;
    text-decoration: none;
    cursor: pointer;
}
.headline-main-result{
    background: #0000a5;
    color: #ffffff;
    text-align: center;
    margin-top: 10px;
    padding: 10px;
}
.current-record{
    background: #ffbc00;
    padding: 10px;
}
.current-record .structure-container{
    background-color: transparent;
    padding: 0px
}
.current-record .grid-cell{
    border: 2px solid #ff1717;
    border-right: none;
}
.current-record .structure2{
    margin-bottom: 5px;
}
.current-record .structure2 .grid-cell:last-child{
    border-right: 2px solid #ff1717;
}
.header-text{
    background-color: #11004e;
    color: #ffbc00;
}
.header-text h2{
    padding: 15px 0px;
}
.header-text marquee{
    color: rgb(255, 0, 0);
    font-size: 20px;
    font-weight: bold;
    font-style: italic;
}