@charset "UTF-8";
/* CSS Document */

*
{
	margin:0px;
	padding:0px;
}

a
{
	color: #D0021B;
}

.icon-folder
{
	font-size:150px !important;
	color:#D0021B;
    background: linear-gradient(135deg, #36D1DC, #5B86E5); /* Your gradient colors */
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
}

body
{
	font-family: 'Muli', sans-serif !important;
	background:#fff;
}

#homepage
{
	background-image: url(../images/homepage-bg.jpg);
	background-repeat: no-repeat;
}

#inner
{
	background-image: url(../images/inner-bg.jpg);
	background-repeat: no-repeat;
}

.curve-bg
{
	background-image: url(../images/CurveHeader.png);
	background-repeat: no-repeat;
	background-position: bottom center;
}

.grey-btn
{
	background-color: #f7f7f7;
	color:black;
	border:#D0021B 1px solid;
	text-align: left;
	padding:10px 20px;
	border-radius:0px;
	font-size: 18px;
}

.grey-btn i
{
	color:#D0021B;
	font-size: 30px;
}

.grey-btn:hover
{
	background-color:lightgray;
}

.form-control {
    color: red;
    background-color: rgba(0,0,0,0);
    border-bottom: 1px solid darkgray !important;
    border-radius: 0;
    border: none;
}

:-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: red !important;
}
::-moz-placeholder { /* Firefox 19+ */
  color: red !important;
}
:-ms-input-placeholder { /* IE 10+ */
  color: red !important;
}
:-moz-placeholder { /* Firefox 18- */
  color: red !important;
}

.slidecontainer {
	width: 100%; /* Width of the outside container */
  }
  
  .slider {
	-webkit-appearance: none;
	width: 100%;
	height: 15px;
	border-radius: 5px;  
	background: #d3d3d3;
	outline: none;
	opacity: 0.7;
	-webkit-transition: .2s;
	transition: opacity .2s;
  }
  
  .slider::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 25px;
	height: 25px;
	border-radius: 50%; 
	background: #4CAF50;
	cursor: pointer;
  }
  
  .slider::-moz-range-thumb {
	width: 25px;
	height: 25px;
	border-radius: 50%;
	background: #4CAF50;
	cursor: pointer;
  }
  
  .dialog {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px 30px; /* Added extra horizontal padding */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    border-radius: 8px;
    width: 300px; /* Optional: Set a fixed width for consistent alignment */
    box-sizing: border-box; /* Ensure padding doesn't affect width */
  }

  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: flex-end;
    /*opacity: 0;*/
    transition: opacity 0.5s ease;
  }

  #dialogBox h2{
    font-size: 14px;
    text-align: center;
  }

  .form-buttons {
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
  }
  
  #folderName{
    border-radius: 10px;
    border: 1px solid gray;
  }

  .overlay.active {
    display: flex;
    opacity: 1;
  }
  .action-sheet {
    width: 100%;
    max-width: 400px;
    background: white;
    border-radius: 12px 12px 0 0;
    padding: 10px 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    transform: translateY(100%);
    animation: slideIn 0.3s ease forwards;
  }
  .action-sheet.slide-out {
    animation: slideOut 0.3s ease forwards;
  }
  @keyframes slideIn {
    from {
      transform: translateY(100%);
    }
    to {
      transform: translateY(0);
    }
  }
  @keyframes slideOut {
    from {
      transform: translateY(0);
    }
    to {
      transform: translateY(100%);
    }
  }
  .action-button {
    padding: 10px;
    text-align: center;
    color: #007bff;
    font-size: 16px;
    border-top: 1px solid #e0e0e0;
    cursor: pointer;
  }
  .action-button:first-child {
    border-top: none;
  }
  .action-button:hover {
    background-color: #f0f0f0;
  }
  .cancel-button {
    margin-top: 10px;
    padding: 15px;
    text-align: center;
    background: white;
    color: red;
    font-size: 16px;
    cursor: pointer;
    border-radius: 12px;
  }
  .cancel-button:hover {
    background-color: #f8d7da;
  }
/* Mobile Specific Styles */

/* Large devices (tablets, less than 1200px) */
@media (max-width: 1199.98px) {
    .icon-folder {
        font-size: 110px !important;
    }
	.db-list h5{
		font-size: 16px !important;
	}
	.site-logo{
		width: 70px !important;
	}
    
    .grey-btn {
        font-size: 16px;
        padding: 8px 16px;
    }
    
    .site-logo {
        display: none !important;
    }
    
    .mobile-nav {
        display: flex !important;
        align-items: center;
        padding: 15px;
        background: #D0021B;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        min-height: 50px;
    }
    
    .mobile-nav .back-btn {
        color: #fff;
        font-size: 20px;
        padding: 5px 15px;
        border: none;
        background: none;
        display: flex;
        align-items: center;
        position: absolute;
    }

    .mobile-nav .threedot-btn {
        color: #fff;
        font-size: 20px;
        padding: 5px 15px;
        border: none;
        background: none;
        display: flex;
        align-items: center;
        position: absolute;
        right: 10px;
    }

    .mobile-nav .newfolder-btn {
        color: #fff;
        font-size: 13px;
        padding: 5px 15px;
        border: none;
        background: none;
        display: flex;
        align-items: center;
        position: absolute;
        right: 10px;
    }
    
    .mobile-nav .page-title {
        flex: 1;
        text-align: center;
        font-size: 18px;
        font-weight: 600;
        margin: 0;
        color: #fff;
    }
    .mobile-body{
        margin-top: 50px !important;
    }
    /* Add padding to body to account for fixed header */
    body {
        min-height: 100vh;  /* Ensure body is at least full viewport height */
        background: #f7f7f7;  /* Light gray background to match the theme */
    }

    /* Wrapper for main content */
    .main-content-wrapper {
        min-height: calc(100vh - 60px);  /* Full height minus header */
        display: flex;
        flex-direction: column;
    }

    /* Adjust the dashboard buttons spacing */
    .dashboard-buttons {
        flex: 1;
        display: flex;
        flex-direction: column;
        padding: 20px 0;
    }

    /* Adjust the top margin of the row */
    .dashboard-buttons .row.mt-5 {
        margin-top: 1rem !important;  /* Reduce the top margin */
    }

    /* Add some padding at the bottom to ensure spacing if content is short */
    .dashboard-buttons .col-10 {
        padding-bottom: 2rem;
    }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
    #homepage,
    #inner {
        background-size: cover;
    }
    
    .curve-bg {
        background-size: 100% auto;
        margin-bottom:50px;
    }
    .submit-btn{
        padding-top: 40px;
    }
    .back-btn a, .back-btn a:hover, .back-btn a:visited{
        color: #fff !important;
    }
    .threedot-btn a, .threedot-btn a:hover, .threedot-btn a:visited{
        color: #fff !important;
    }
    .btn-inspection{
        border: 1px solid #D0021B;
        background: rgba(180, 180, 180, .4);
        font-size: 14px !important;
        position: relative;
    }
    .btn-inspection i {
        position: absolute;
        right: 10px;
        top: 11px;
    }
    #img-table td{
        font-size: 14px;
    }
    #img-table td img{
        display: block;
    }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
    .icon-folder {
        font-size: 90px !important;
    }
	.db-list h5{
		font-size: 16px !important;
	}
	.site-logo{
		width: 70px !important;
	}
    .grey-btn {
        font-size: 14px;
        padding: 6px 12px;
    }
    
    .grey-btn i {
        font-size: 24px;
    }
    
    .mobile-nav .page-title {
        font-size: 16px;
    }
    
    .mobile-nav .back-btn {
        font-size: 18px;
        padding: 5px 10px;
    }
}

/* Extra small devices (portrait phones, less than 576px) */

@media (max-width: 575.98px) {
    .icon-folder {
        font-size: 50px !important;
    }
	.db-list h5{
		font-size: 14px !important;
	}
	.site-logo{
		width: 70px !important;
	}
    
    .grey-btn {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .form-control {
        font-size: 14px;
    }
    
    .slider {
        height: 12px;
    }
    
    .slider::-webkit-slider-thumb,
    .slider::-moz-range-thumb {
        width: 20px;
        height: 20px;
    }
    
    .mobile-nav .page-title {
        font-size: 14px;
    }
    
    .mobile-nav .back-btn {
        font-size: 16px;
        padding: 5px 8px;
    }
}
  