﻿/* Sidebar */
.sidebar {
    height: 100vh;
    position: fixed;
    top: 56px;
    left: 0;
    padding-top: 20px;
}

/* Navigation hover */
.nav-link:hover {
    background-color: #007bff;
    color: #fff !important;
    transition: 0.3s;
}

/* Global reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    /*   font-family: "Segoe UI", Tahoma, sans-serif;*/
}




/* Login container */
.login-container {
    width: 400px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin: auto;
}

/* Main content area */
main {
    margin-left: 220px; /* sidebar width */
}

/* Card styling */
/*.card {
    background-color: #fff;
    width: 85%;
    max-width: 1000px;
    padding: 25px 30px;
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.25);
    margin: 0 auto;
}*/

/* Card header */
/*.card-header {
    margin-bottom: 24px;
    text-align: center;
}

    .card-header h1 {
        font-size: 26px;
        font-weight: 700;
        color: #111827;
        margin-bottom: 6px;
    }

    .card-header p {
        font-size: 14px;
        color: #6b7280;
    }*/

/* Form elements */
.form-group {
    margin-bottom: 18px;
}

label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}

input[type="text"],
input[type="email"],
input[type="password"],
select {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    font-size: 14px;
    color: #111827;
    transition: border-color 0.2s, box-shadow 0.2s;
}

    input:focus,
    select:focus {
        outline: none;
        border-color: #4f46e5;
        box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.18);
    }



.btn-primary1 {
    background-color: #4f46e5;
    border: none;
    color: #fff;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 15px;
    font-weight: 600;
    transition: 0.3s;
    margin-top: 11px;
}

.btn-primary:hover {
    background-color: #4338ca;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.btn-danger {
    background-color: #dc3545;
    border: none;
    color: #fff;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s;
}

    .btn-danger:hover {
        background-color: #b02a37;
        box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
    }

/* Table styling */
.table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
}

    .table th {
        background-color: #f3f4f6;
        color: #374151;
        font-weight: 600;
        padding: 10px;
    }

    .table td {
        padding: 10px;
        vertical-align: middle;
    }

/* Section title */
.section-title {
    text-align: center;
    color: #2c3e50;
    font-weight: 700;
    margin: 30px 0 20px;
}

/* DataTables dropdown */
.dataTables_length,
.dataTables_filter {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    float: right !important;
    text-align: right;
    margin-bottom: 10px;
}

.dataTables_length {
    float: left !important;
    margin-bottom: 10px;
}

    .dataTables_length select {
        border: 1px solid #ccc;
        border-radius: 6px;
        padding: 4px 8px;
        font-size: 14px;
        background-color: #fff;
        color: #333;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
        transition: all 0.2s ease-in-out;
    }

        .dataTables_length select:focus {
            border-color: #007bff;
            outline: none;
            box-shadow: 0 0 4px rgba(0, 123, 255, 0.3);
        }

    .dataTables_length label {
        font-weight: 500;
        color: #444;
        display: flex;
        align-items: center;
        gap: 6px;
    }

/* Footer links */
.card-footer {
    margin-top: 18px;
    text-align: center;
    font-size: 13px;
    color: #6b7280;
}

    .card-footer a {
        color: #4f46e5;
        font-weight: 500;
        text-decoration: none;
    }

        .card-footer a:hover {
            text-decoration: underline;
        }

/* Responsive design */
@media (max-width: 768px) {
    .card {
        width: 95%;
        padding: 20px;
    }

    .table th,
    .table td {
        font-size: 13px;
        padding: 8px;
    }

    .btn-primary,
    .btn-danger {
        font-size: 12px;
        padding: 6px 10px;
    }

    .login-container {
        width: 90%;
        padding: 20px;
    }
}



.pm-title {
    font-family: 'Segoe UI', sans-serif;
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(90deg, #4f46e5, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
    margin: 0;
    height: 36px;
}

.login-title {
    font-size: 21px;
    font-weight: 600;
    color: #111827;
}

.login-subtitle {
    color: #6b7280;
    margin-bottom: 25px;
}

.logo-section {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 20px; /* Adds space above logo */
    margin-bottom: 10px; /* Adds space below logo */
}

.logo {
    width: 40px;
    height: 40px;
    vertical-align: middle;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.logo-title {
    display: flex;
    align-items: center;
    justify-content: center; /* centers everything horizontally */
    gap: 10px; /* space between 24|7 and Product Management */
    flex-wrap: nowrap; /* prevents text from breaking into a new line */
    white-space: nowrap; /* keeps full text visible */
}

#WebtypeTable td:nth-child(3) {
    word-break: break-word;
    white-space: normal;
}

#WebtypeTable th:nth-child(4),
#WebtypeTable th:nth-child(5),
#WebtypeTable th:nth-child(6),
#WebtypeTable td:nth-child(4),
#WebtypeTable td:nth-child(5),
#WebtypeTable td:nth-child(6) {
    width: 70px; /* adjust width as needed */
    text-align: center;
    padding: 6px;
}

#ddlIsActive {
    min-width: 220px;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border: 1px solid #ccc;
}
/* Page background */
body {
    background: linear-gradient(135deg, #dff6ff, #0ea5e9);
    font-family: 'Segoe UI', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #111827;
}

/* Card with 3D glass effect */
.card {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 25px 30px;
    width: 85%;
    max-width: 1000px;
    margin: 20px auto;
    transition: all 0.3s ease;
}

    .card:hover {
        transform: translateY(-4px);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    }

/* Table with subtle 3D rows */
.table {
    border-collapse: collapse;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

    .table th {
        background: rgba(255, 255, 255, 0.4);
        color: #007bff;
        font-weight: 600;
        padding: 10px;
    }

    .table tbody tr {
        background: rgba(255, 255, 255, 0.2);
        transition: all 0.3s ease;
    }

        .table tbody tr:hover {
            background: rgba(255, 255, 255, 0.35);
            transform: scale(1.01);
        }

/* Buttons with glowing 3D effect */
.btn-primary {
    background: linear-gradient(135deg, #007bff, #00c6ff);
    border: none;
    color: #fff;
    border-radius: 8px;
    padding: 8px 14px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
    transition: all 0.3s ease;
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 18px rgba(0, 123, 255, 0.4);
    }

.btn-danger {
    background: linear-gradient(135deg, #ff4b2b, #ff416c);
    border: none;
    color: #fff;
    border-radius: 8px;
    padding: 8px 14px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(255, 65, 108, 0.3);
    transition: all 0.3s ease;
}

    .btn-danger:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 18px rgba(255, 65, 108, 0.4);
    }

/* Dropdown styling */
.dataTables_length select {
    border-radius: 8px;
    border: none;
    background: rgba(255, 255, 255, 0.3);
    color: #007bff;
    font-weight: 600;
    padding: 5px 10px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

/* Pagination buttons */
/* Equal width pagination buttons */
/* Equal size pagination buttons */
.dataTables_wrapper .dataTables_paginate .paginate_button {
    min-width: 50px; /* consistent width */
    height: 38px; /* consistent height */
    line-height: 38px; /* vertically center text */
    text-align: center;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.3);
    color: #007bff !important;
    margin: 2px;
    font-weight: 600;
    transition: all .25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    /* Active page button */
    .dataTables_wrapper .dataTables_paginate .paginate_button.current {
        background: #007bff !important;
        color: #fff !important;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    }

    /* Previous and Next buttons same size */
    .dataTables_wrapper .dataTables_paginate .paginate_button.previous,
    .dataTables_wrapper .dataTables_paginate .paginate_button.next {
        min-width: 70px;
    }

    /* Hover effect */
    .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 12px rgba(0, 123, 255, 0.25);
    }
/*.input-error {
    border: 2px solid red !important;
}*/
.input-error {
    border: 2px solid #ff3b3b !important;
    background: rgba(255, 0, 0, 0.05);
    box-shadow: 0 0 8px rgba(255, 0, 0, 0.35);
    transition: all 0.25s ease-in-out;
}





