
body {
    font-family: 'Helvetica Neue', sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    min-height: 100vh;
    padding: 40px 20px;
    background: linear-gradient(to right, #6dd5ed, #2193b0);
    background-image: url("data:image/svg+xml,%3Csvg width='42' height='44' viewBox='0 0 42 44' xmlns='http://www.w3.org/2000/svg'%3E%3Cg id='Page-1' fill='none' fill-rule='evenodd'%3E%3Cg id='brick-wall' fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M0 0h42v44H0V0zm1 1h40v20H1V1zM0 23h20v20H0V23zm22 0h20v20H22V23z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    gap: 30px;
}

.container {
    background-color: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2), 0 6px 6px rgba(0, 0, 0, 0.23);
    width: 100%;
    max-width: 500px;
}

/* ... (previous styles) ... */

.contact-container {
    text-align: left;
}

.contact-container h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #333;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box; /* Ensures padding doesn't affect width */
}

.submit-btn {
    width: 100%;
    background-color: #2c3e50;
}

.submit-btn:hover {
    background-color: #34495e;
}

.comment-container {
    text-align: left;
    min-height: 200px;
}

.upload-area {
    border: 2px dashed #2193b0;
    padding: 30px;
    border-radius: 10px;
    cursor: pointer;
    margin-top: 20px;
    transition: background 0.3s;
    position: relative;
}

.upload-area:hover {
    background: #f0f8ff;
}

#image-input {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
}

.result-container {
    margin-top: 30px;
    text-align: left;
}

.progress-bar-container {
    background: #eee;
    border-radius: 20px;
    margin-bottom: 10px;
    overflow: hidden;
}

.progress-bar {
    padding: 10px;
    color: white;
    font-weight: bold;
    text-align: right;
    width: 0%;
    transition: width 0.5s ease-in-out;
}

.progress-bar.dog { background-color: #ff9800; }
.progress-bar.cat { background-color: #2196f3; }

.test-mode-toggle {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.mode-btn {
    padding: 10px 20px;
    font-size: 14px;
    background-color: #eee;
    color: #333;
    border-radius: 5px;
    box-shadow: none;
}

.mode-btn.active {
    background-color: #2193b0;
    color: white;
}

#webcam-container canvas {
    border-radius: 10px;
    max-width: 100%;
}

h1 {
    color: #333;
    margin-bottom: 20px;
}

button {
    padding: 15px 30px;
    font-size: 18px;
    cursor: pointer;
    margin-bottom: 20px;
    border: none;
    background-color: #2193b0;
    color: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.2s ease-in-out;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0,0,0,0.15);
}

#numbers-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.lotto-row {
    display: flex;
    gap: 10px;
    justify-content: center;
}
