.pcu-capture-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.pcu-camera-section {
    background: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.pcu-camera-section h2 {
    margin-top: 0;
    color: #333;
}

.pcu-camera-view {
    width: 100%;
    max-width: 640px;
    margin: 20px auto;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}

#pcu-camera-preview {
    width: 100%;
    height: auto;
    display: block;
}

.pcu-camera-controls {
    text-align: center;
    margin: 20px 0;
}

.pcu-btn {
    display: inline-block;
    padding: 12px 24px;
    margin: 5px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.pcu-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pcu-btn-primary {
    background: #0073aa;
    color: white;
}

.pcu-btn-primary:hover:not(:disabled) {
    background: #005a87;
}

.pcu-btn-success {
    background: #46b450;
    color: white;
}

.pcu-btn-success:hover:not(:disabled) {
    background: #368640;
}

.pcu-btn-secondary {
    background: #6c757d;
    color: white;
}

.pcu-btn-secondary:hover:not(:disabled) {
    background: #545b62;
}

.pcu-btn-danger {
    background: #dc3545;
    color: white;
}

.pcu-btn-danger:hover:not(:disabled) {
    background: #c82333;
}

.pcu-preview-section {
    text-align: center;
    margin: 20px 0;
}

#pcu-photo-preview {
    max-width: 100%;
    max-height: 400px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.pcu-metadata-section {
    margin: 20px 0;
    padding: 20px;
    background: white;
    border-radius: 8px;
}

.pcu-form {
    margin: 15px 0;
}

.pcu-form-group {
    margin-bottom: 15px;
}

.pcu-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.pcu-form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.pcu-form-control:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 5px rgba(0,115,170,0.3);
}

.pcu-metadata-info {
    background: #f0f6fc;
    padding: 15px;
    border-radius: 5px;
    margin: 15px 0;
    border-left: 4px solid #0073aa;
}

.pcu-metadata-info h4 {
    margin-top: 0;
    color: #0073aa;
}

.pcu-metadata-info div {
    margin: 5px 0;
    font-size: 14px;
}

.pcu-form-actions {
    text-align: center;
    margin: 20px 0;
}

.pcu-status-message {
    margin: 15px 0;
    padding: 10px;
    border-radius: 5px;
    display: none;
}

.pcu-status-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.pcu-status-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

.pcu-status-message.info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
    display: block;
}

/* Gallery Styles */
.pcu-gallery {
    display: grid;
    gap: 20px;
    margin: 20px 0;
}

.pcu-gallery-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.pcu-gallery-item:hover {
    transform: translateY(-5px);
}

.pcu-gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.pcu-gallery-info {
    padding: 10px;
    font-size: 12px;
    color: #666;
}

.pcu-gallery-date {
    display: block;
    margin-bottom: 5px;
}

.pcu-gallery-location {
    color: #0073aa;
}

/* Responsive Design */
@media (max-width: 768px) {
    .pcu-capture-container {
        padding: 10px;
    }
    
    .pcu-camera-view {
        max-width: 100%;
    }
    
    .pcu-gallery {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 480px) {
    .pcu-gallery {
        grid-template-columns: 1fr !important;
    }
    
    .pcu-btn {
        padding: 10px 18px;
        font-size: 14px;
    }
}