body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    text-align: center;
}

.container {
    max-width: 500px;
    margin: auto;
    padding: 15px;
    background: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

.header-img {
    max-height: 150px;
    width: auto;
}

input[type="file"],
input[type="submit"],
input[type="text"] {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

input[type="submit"] {
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
}

input[type="submit"]:hover {
    background-color: #0056b3;
}

a.button {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

a.button:hover {
    background-color: #0056b3;
}

.lang-switcher {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 8px 0;
}

.lang-switcher a {
    padding: 6px 14px;
    background: #eef2f7;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.lang-switcher a:hover {
    background: #dde7f3;
}

.lang-switcher a.active {
    background: #007bff;
    color: white;
    border-color: #0056b3;
}

.mobile-row {
    display: flex;
    gap: 8px;
    align-items: stretch;
    margin: 8px 0;
}

.mobile-row .country-dd {
    width: 220px;
    flex-shrink: 0;
    margin: 0;
}

.mobile-row input[type="tel"] {
    flex: 1;
    min-width: 0;
    padding: 12px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.country-dd {
    position: relative;
    margin: 8px 0;
}

.country-dd-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #ccc;
    background: white;
    cursor: pointer;
    text-align: left;
}

.country-dd-btn:hover {
    background: #f8f9fa;
}

.country-dd .dd-flag {
    width: 28px;
    height: 20px;
    object-fit: cover;
    border-radius: 2px;
    border: 1px solid rgba(0, 0, 0, 0.15);
}

.country-dd .dd-caret {
    margin-left: auto;
    color: #666;
}

.country-dd-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 10;
    max-height: 280px;
    overflow-y: auto;
    margin: 4px 0 0;
    padding: 4px 0;
    list-style: none;
    background: white;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.country-dd-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    font-size: 15px;
    cursor: pointer;
}

.country-dd-list li:hover,
.country-dd-list li.selected {
    background: #e7f1ff;
}

.country-dd-list li img {
    width: 24px;
    height: 16px;
    object-fit: cover;
    border-radius: 2px;
    border: 1px solid rgba(0, 0, 0, 0.15);
}

.upload-progress {
    margin: 10px 0 4px;
    text-align: left;
}

.upload-progress-bar {
    height: 14px;
    background: #e9ecef;
    border: 1px solid #ccc;
    border-radius: 7px;
    overflow: hidden;
}

.upload-progress-fill {
    height: 100%;
    width: 0;
    background: #007bff;
    border-radius: 7px;
    transition: width 0.15s ease;
}

.upload-progress-fill.indeterminate {
    width: 40%;
    animation: upload-progress-slide 1.2s ease-in-out infinite;
}

@keyframes upload-progress-slide {
    0% { margin-left: -40%; }
    100% { margin-left: 100%; }
}

.upload-progress-text {
    margin-top: 6px;
    font-size: 14px;
    color: #444;
    text-align: center;
}

input[type="submit"]:disabled {
    background-color: #6ea8e8;
    cursor: default;
}
