 /* Page-specific styles */
 #passportCanvas {
     max-width: 100%;
     height: auto;
     border-radius: 8px;
     box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
     background-color: #f5f5f5;
 }

 /* Add camera styles */
 .camera-box {
     margin-top: 15px;
     background-color: #e8f5e9;
 }

 .modal {
     display: none;
     position: fixed;
     z-index: 1000;
     left: 0;
     top: 0;
     width: 100%;
     height: 100%;
     overflow: auto;
     background-color: rgba(0, 0, 0, 0.7);
 }

 .modal-content {
     background-color: #fefefe;
     margin: 10% auto;
     padding: 20px;
     border-radius: 8px;
     width: 80%;
     max-width: 600px;
 }

 .close-modal {
     color: #aaa;
     float: right;
     font-size: 28px;
     font-weight: bold;
     cursor: pointer;
 }

 .close-modal:hover {
     color: black;
 }

 #cameraVideo {
     width: 100%;
     border-radius: 8px;
     margin: 15px 0;
     background-color: #f0f0f0;
 }

 .camera-controls {
     display: flex;
     justify-content: center;
     gap: 10px;
     margin-top: 15px;
 }

 .camera-controls button {
     padding: 8px 15px;
     border: none;
     border-radius: 4px;
     cursor: pointer;
     background-color: var(--primary);
     color: white;
     font-weight: 500;
 }

 .camera-controls button:hover {
     background-color: #3d8b40;
 }

 /* Existing styles remain unchanged */
 .photo-size-option {
     display: flex;
     margin-bottom: 15px;
     padding: 10px;
     border: 1px solid #ddd;
     border-radius: 5px;
     cursor: pointer;
     transition: all 0.3s ease;
 }

 .photo-size-option:hover {
     background-color: #f5f5f5;
 }

 .photo-size-option.active {
     background-color: rgba(76, 175, 80, 0.1);
     border-color: var(--primary);
 }

 .photo-size-option input {
     margin-right: 10px;
 }

 .photo-size-details {
     font-size: 0.9em;
     color: #666;
     margin-top: 5px;
 }

 .crop-container {
     position: relative;
     margin-bottom: 20px;
     border: 2px dashed #ccc;
     border-radius: 8px;
     overflow: hidden;
     background-color: #f9f9f9;
 }

 #cropPreview {
     display: block;
     max-width: 100%;
     margin: 0 auto;
 }

 .crop-instructions {
     text-align: center;
     padding: 15px;
     font-size: 0.9em;
     color: #666;
 }

 .grid-options {
     margin-top: 15px;
 }

 .grid-option {
     margin-right: 10px;
     padding: 8px 12px;
     border: 1px solid #ddd;
     border-radius: 4px;
     cursor: pointer;
     transition: all 0.2s ease;
     background-color: #c3bbbb;
     font-weight: 500;
     position: relative;
     overflow: hidden;
 }

 .grid-option:hover {
     background-color: #f0f0f0;
     border-color: #aaa;
 }

 .grid-option.active {
     background-color: var(--primary);
     color: white;
     border-color: var(--primary);
     box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
 }

 .grid-option.active::after {
     content: "✓";
     position: absolute;
     top: -2px;
     right: 3px;
     font-size: 10px;
 }

 .background-options {
     display: flex;
     flex-wrap: wrap;
     gap: 10px;
     margin-top: 15px;
 }

 .bg-option {
     width: 30px;
     height: 30px;
     border-radius: 50%;
     cursor: pointer;
     border: 2px solid transparent;
 }

 .bg-option.active {
     border-color: var(--primary);
 }

 .bg-white {
     background-color: #ffffff;
 }

 .bg-blue {
     background-color: #e6f2ff;
 }

 .bg-gray {
     background-color: #f0f0f0;
 }

 .bg-red {
     background-color: #ffebee;
 }
