/* ===================================================================
   1. Global Styles & Responsive Logic
   =================================================================== */
body {
  font-family: "Roboto", sans-serif;
  background-color: #f8f9fa; /* Light grey for desktop */
}

.desktop-message {
  display: none;
}
.mobile-app {
  display: block;
}

@media (min-width: 1024px) {
  .mobile-app {
    display: none;
  }
  .desktop-message {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100%;
    text-align: center;
    color: #6c757d;
    font-size: 1.2rem;
  }
}

.app-container {
  max-width: 500px;
  margin: 0 auto;
  min-height: 100vh;
}

/* ===================================================================
   2. Login Screen Styles
   =================================================================== */
.login-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  background-color: #fff;
}
/* (Other login styles from previous response remain the same) */
.form-signin {
  width: 100%;
  max-width: 400px;
}
.form-signin .logo {
  width: 200px;

}
.form-signin .form-control {
  position: relative;
  box-sizing: border-box;
  height: auto;
  padding: 1.1rem 1rem;
  font-size: 16px;
  background-color: #f7f7f7;
  border: 1px solid #f7f7f7;
}
.form-signin .form-control:focus {
  z-index: 2;
  border-color: #ad0d0d;
  background-color: #fff;
  box-shadow: 0 0 0 0.25rem rgba(173, 13, 13, 0.25);
}
.login-btn {
  background-color: #ed1c24;
  border: none;
  padding: 0.8rem;
  font-weight: bold;
}
.login-btn:hover {
  background-color: #850a0a;
}
.forgot-password {
  color: #ed1c24;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

/* ===================================================================
   3. DASHBOARD STYLES (WITH STATS & ACTIVITY FEED)
   =================================================================== */

.dashboard-container-original {
    background-color: #f0f2f5; /* Light grey background for the app */
    padding: 0;
}

/* Top Navbar */
.dashboard-container-original .navbar.fixed-top {
    background-color: #f0f2f5;
    box-shadow: none;
}
.dashboard-container-original .navbar-toggler {
    border: none;
}
.dashboard-container-original .navbar-toggler:focus {
    box-shadow: none;
}
.dashboard-container-original .form-check-input:checked {
    background-color: #6a0dad;
    border-color: #6a0dad;
}

/* Main Content Area */
.dashboard-container-original .main-content {
    padding: 80px 15px 20px 15px; /* Padding for fixed top bar */
}
.welcome-title {
    color: #1d2125;
}

/* Stat Cards */
.stat-card {
    background-color: #ffffff;
    padding: 1rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    
  
}
.stat-card:hover {
    box-shadow: 0 6px 16px rgba(255, 0, 0, 0.1);
    transform: translateY(-2px);
    transition: all 0.2s ease-in-out;  
   
}
.stat-card .label {
    color: #6c757d;
    font-size: 0.8rem;
}
.stat-card .value {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1d2125;
}
.summary_card{
border: 1px solid red;
}

.summary_card:hover{
     box-shadow: 0 6px 16px rgba(255, 0, 0, 0.1);
    transform: translateY(-2px);
    transition: all 0.2s ease-in-out;  
}

/* Recent Activity Section */
.recent-activity-title {
    color: #1d2125;
}
.activity-list .list-group-item {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border: none;
    border-radius: 0.75rem;
    margin-bottom: 0.75rem;
    padding: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.activity-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 0.5rem;
    background-color: #ffe7e7; /* Light blue background for icon */
    color: #ed1c24; /* Blue icon color */
    font-size: 1.5rem;
    margin-right: 1rem;
}
.activity-details {
    line-height: 1.3;
}
.activity-title {
    font-weight: 500;
    color: #1d2125;
}

/* ===================================================================
   5. MODERN CAMERA SCREEN STYLES (From new image)
   =================================================================== */

.camera-container-modern {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #ffffff;
    padding: 1rem;
    height: 100vh;
}

/* Header */
.selfie-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.selfie-header .close-btn {
    font-size: 1.2rem;
    color: #333;
}
.selfie-header .placeholder-span {
    width: 20px; /* To balance the X icon for centering the title */
}

/* Main Selfie Area */
.selfie-main {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.selfie-placeholder {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 4 / 5; /* Common portrait aspect ratio */
    background-color: #000000;
    border-radius: 1.5rem; /* More pronounced rounded corners */
}

/* Middle Camera Actions */
.camera-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem; /* Space between icons */
    padding: 1.5rem 0;
}
.camera-actions .action-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #f8f9fa;
    color: #333;
    font-size: 1.3rem;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.camera-actions .shutter-btn {
    width: 70px;
    height: 70px;
    background-color: #ed1c24; /* Primary blue */
    color: white;
    font-size: 2rem;
    transform: scale(1.1); /* Make it slightly bigger */
}

/* Footer Buttons */
.selfie-footer .btn {
    padding: 0.8rem;
    font-weight: bold;
    border-radius: 0.75rem;
}
.selfie-footer .btn-light {
    background-color: #e9ecef;
    border-color: #e9ecef;
    color: #333;
}

.btn_confirm {
    background-color: #ed1c24;
    color: white;
    border: none;
}

/* ===================================================================
   6. LOGOUT CONFIRMATION MODAL STYLES
   =================================================================== */

#logoutConfirmModal .modal-content {
    border: none;
    border-radius: 1rem; /* Rounded corners for the modal */
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

#logoutConfirmModal .modal-body {
    padding: 2rem;
}

.logout-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #ffe7e7; /* Light blue background */
    color: #ed1c24; /* Blue icon color */
    font-size: 1.5rem;
}

#logoutConfirmModal .modal-title {
    font-weight: 700;
}

#logoutConfirmModal .btn {
    padding: 0.75rem;
    font-weight: 500;
    border-radius: 0.5rem;
}

#logoutConfirmModal .btn-light {
    background-color: #e9ecef;
    border-color: #e9ecef;
}

/* ===================================================================
   7. DDS SUBMISSIONS PAGE STYLES
   =================================================================== */

/* Make the stat card on the dashboard clickable */
.stat-card-link {
    text-decoration: none;
}
.stat-card-link:hover .stat-card {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.08);
}
.stat-card {
    transition: all 0.2s ease-in-out;
}

/* Container and Header for the submissions page */
.submissions-container {
    background-color: #f0f2f5;
    padding: 1rem;
}
.submissions-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1rem;
}
.submissions-header .back-btn {
    font-size: 1.5rem;
    color: #333;
}
.submissions-header h1 {
    color: #1d2125;
}

/* List of submitted forms */
.submission-list .list-group-item {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border: none;
    border-radius: 0.75rem;
    margin-bottom: 0.75rem;
    padding: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.submission-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 0.5rem;
    background-color: #ffe7e7; /* Light blue background for icon */
    color: #ed1c24; /* Blue icon color */
    font-size: 1.5rem;
    margin-right: 1rem;
}

.submission-details {
    flex-grow: 1;
    line-height: 1.3;
}
.submission-title {
    font-weight: 500;
    color: #1d2125;
}

/* Custom check/radio icon */
.status-check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid #ced4da; /* Unchecked border color */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}
.status-check.checked {
    background-color: #ed1c24; /* Blue background when checked */
    border-color: #ed1c24;
    color: white;
}
.status-check.checked i {
    font-size: 1rem;
    font-weight: bold;
}