  /* Custom styles for Paralegal Case Section */

/* Grid Layout for Paralegal Cases */
.paralegal-cases-grid .col {
    margin-bottom: 20px; /* Adds spacing between columns */
}

/* Card styling */
.paralegal-case-card .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 10px; /* Rounded corners for a modern look */
    background-color: #fff; /* Clean background */
    border: none; /* Remove default borders */
}

.paralegal-card-body {
    padding: 20px; /* Adds padding inside the card */
    background-color: #f9f9f9; /* Light background for content */
}

.paralegal-case-title {
    font-size: 20px;  /* Larger title size */
    color: #333;
    font-weight: bold;
    margin-bottom: 15px;
}

.paralegal-case-card .card-body p {
    font-size: 14px;  /* Smaller font for text */
    color: #666;
    margin-bottom: 10px;
}

.paralegal-card-body .btn {
    border-radius: 5px; /* Rounded buttons */
    font-size: 14px;
    padding: 8px 15px;
}

/* View button - Subtle use of theme color */
.paralegal-view-btn {
    background-color: #FF7F32;
    border-color: #FF7F32;
    color: white;
}

.paralegal-view-btn:hover {
    background-color: #e67e22; /* Darker shade on hover */
    border-color: #e67e22;
}

/* Delete button - Subtle gray color */
.paralegal-delete-btn {
    background-color: #f5f5f5;
    border-color: #ddd;
    color: #333;
}

.paralegal-delete-btn:hover {
    background-color: #e1e1e1; /* Light gray on hover */
    border-color: #ccc;
}

/* Hover effect for cards */
.paralegal-case-card .card:hover {
    transform: translateY(-5px);  /* Subtle lift on hover */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Soft shadow */
}

/* Header styling */
.paralegal-header {
    font-size: 28px;
    font-weight: bold;
    color: #555;  /* Soft gray color */
    margin-bottom: 30px;
}

/* Responsive Design: Adjust for smaller screens */
@media (max-width: 768px) {
    .paralegal-case-title {
        font-size: 18px;
    }

    .paralegal-header {
        font-size: 24px;
    }
}



  /* Initial hidden state for the sliding panel */
.sliding-panel {
    position: fixed;
    top: 0;
    right: -100%;  /* Initially off-screen */
    width: 100%;   /* Ensure the panel takes up 100% of the width */
    height: 100vh;  /* Ensure the panel takes up 100% of the screen height */
    background-color: #f8f9fa;
    box-shadow: -2px 0px 10px rgba(0, 0, 0, 0.2);
    transition: right 0.2s ease-in-out;
    z-index: 9999;
    padding: 20px;
    overflow-y: auto;
}

/* Sliding panel content */
.sliding-panel-content {
    position: relative;
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
    height: 100%;
    overflow-y: auto;
}

/* Close button */
.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 18px;
    color: white;
    background-color: red;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Panel Title */
.panel-title {
    font-size: 24px;
    margin-bottom: 20px;
    color: #FF7F32;
}

/* Bootstrap Tab styling */
.nav-tabs .nav-link {
    border-radius: 5px;
    font-weight: bold;
    padding: 10px 20px;
    color: #FF7F32;
}

.nav-tabs .nav-link.active {
    background-color: #FF7F32;
    color: white;
}

.tab-pane {
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 5px;
}

.tab-pane h4 {
    font-size: 20px;
    margin-bottom: 15px;
}

/* Smooth transitions for the sliding effect */
.sliding-panel.sliding-panel-open {
    right: 0;  /* Move the panel into view */
}

.viewBtn{
    background-color:#FF7F32;
    color: white;
    border: solid 1px #FF7F32;
}


.viewBtn:hover{
    background-color: #bf5515;
    border: solid 1px #bf5515;
    color: white;
}


  .theme_color{
    background-color: #FF7F32;
    border: solid 1px #FF7F32;
  }
/* Normal state */
.theme_color {
    background-color: #FF7F32;
    color: white;
    border: solid 1px #FF7F32;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    transition: all 0.3s ease;
}

/* Hover state */
.theme_color:hover {
    background-color: #bf4b06; /* Lighter shade on hover */
    border: solid 1px #bf4b06;
}

/* Active state (when button is clicked) */
.theme_color:active {
    background-color: #8a3404; /* Darker shade for active state */
    border: solid 1px #8a3404;
}

/* Focus state (when button is focused, like after tabbing into it) */
.theme_color:focus {
    outline: none; /* Remove default outline */
    box-shadow: 0 0 5px rgba(191, 75, 6, 0.7); /* Custom focus shadow */
    border-color: #bf4b06; /* Ensure border color matches hover/focus state */
}

/* Disabled state (optional, for a button in disabled state) */
.theme_color:disabled {
    background-color: #f3f3f3;
    color: #d1d1d1;
    border-color: #d1d1d1;
    cursor: not-allowed;
}


  body {
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 0;
            background-color: #f4f4f4;
            display: flex;
            flex-direction: column;
            height: 100vh;
        }
        .show_submitted_forms_div{
            max-height: 80vh;
            background-color: #dddd;
            overflow-y: auto;
        }
        .toggle_btn{
            background-color: none;
            color: white;
            font-weight: bold;
            font-size: 22px;
            cursor: pointer;
        }
        .dashboard_logo{
            width: 100px;
            position: absolute;
            left: 70px;
            top: -20px;
            z-index:1000;
            float: left;
        }
        /* Menu styles */
        .two_columns_wrapper{
            width: 100%;
            height: 100vh;
            float: left;
        }

        .open{
            width: 350px;
        }

        .closed{
            width: 0px;
        }
         .two_columns{
            height: 100vh;
            float: left;
        }

         .two_columns_left{
            background-color: #FF7F32;
            color: white;
            width: 0px;
            transition: 0.5s;
            overflow: hidden;
        }

        .two_columns_left a{
           display: block;
           color: white;
           padding: 10px;
           text-decoration: none;
        }

        .php_success{
          padding: 20px;
          text-align: center;
          border-radius: 3px;
          width: 100%;
          color:rgba(33, 87, 19, 0.842);
          background-color: rgba(0, 128, 0, 0.267);
        }  



        .php_error{
          padding: 20px;
          width: 100%;
          padding-top: 3px;
          border-radius: 3px;
          padding-bottom: 3px;
          text-align: center;
          color:rgba(87, 19, 19, 0.842);
          background-color: rgba(128, 0, 0, 0.267);
        }

        .two_columns_left a:hover{
            background-color: #d16a2c;
            transition: 0.3s;
        }

         .two_columns_right{
            width: calc(100% - 250px);
            overflow: hidden;
        }

        /* Top bar styles */
        .topbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            background-color: #FF7F32;
            color: white;
            padding: 10px 20px;
        }

        .topbar h2 {
            margin: 0;
        }

        .dropdown-toggle{
           background-color: white; 
           color: black;
        }

        .response_divs{
            float: left;
            width: 100%;
        }


        .dropdown-toggle button{
            color: black; 
        }

        /* Hamburger menu button (visible only on mobile) */
        .toggle-btn {
            font-size: 30px;
            color: #fff;
            background-color: #d16a2c;
            border: none;
            padding: 10px;
            cursor: pointer;
            height: 40px;
            width: 40px;
            position: absolute;
            z-index: 1001; /* Ensure button is on top */
        }

        .content {
            padding: 20px;
            flex-grow: 1;
            width: 100%;
            transition: margin-left 0.3s, width 0.3s;
        }

        .footer {
            background-color: #333;
            color: white;
            text-align: center;
            padding: 10px;
            position: fixed;
            bottom: 0;
            width: 100%;
        }

        /* Mobile responsiveness */
        @media (max-width: 768px) {
             .two_columns_left{
            position: absolute;
            z-index: 1000;
        }

         .two_columns_right{
            width: 100%;
        }

        }