* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #16161a; /* Darker background from image */
    font-family: 'Montserrat', sans-serif;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.main-container {
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-container {
    margin-bottom: 40px;
    text-align: center;
}

.logo {
    max-width: 250px;
    height: auto;
}

.upload-card {
    background-color: #1f1f26; /* Slightly lighter card bg */
    border-radius: 8px;
    padding: 40px;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    border: 1px solid #2a2a35;
    transition: opacity 0.5s ease;
}

.success-card {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #1f1f26;
    border-radius: 8px;
    padding: 60px 40px;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
    animation: fadeIn 0.5s ease forwards;
    border: 1px solid #2a2a35;
}

.success-icon-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.success-icon-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(29, 209, 161, 0.1);
    border-radius: 50%;
}

.success-icon {
    font-size: 32px;
    color: #1dd1a1;
    z-index: 1;
    background-color: rgba(29, 209, 161, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    border: 2px solid #1dd1a1;
    padding-top: 6px;
}

.success-title {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.success-text {
    font-size: 14px;
    color: #a0a0a0;
    line-height: 1.6;
    margin-bottom: 30px;
}

.home-btn {
    background-color: #e6272e;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 15px 40px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%;
}

.home-btn:hover {
    background-color: #c91e25;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.warning-message {
    display: flex;
    position: absolute;
    top: -60px; /* Above the card */
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(230, 39, 46, 0.1);
    border: 1px solid #e6272e;
    color: #e6272e;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    align-items: center;
    gap: 8px;
    z-index: 10;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    width: max-content;
}

.warning-message.show {
    opacity: 1;
    pointer-events: auto;
    animation: fadeInDown 0.4s ease forwards;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translate(-50%, -10px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-row.full-width {
    width: 100%;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-label {
    font-size: 12px;
    color: #a0a0a0;
    margin-bottom: 8px;
    font-weight: 500;
}

.required {
    color: #e6272e;
    margin-left: 2px;
}

.form-input {
    width: 100%;
    background-color: #16161a; /* Darker input bg */
    border: 1px solid #3a3a45;
    border-radius: 6px;
    padding: 15px;
    color: #ffffff;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

.form-input::placeholder {
    color: #555;
}

.form-input:focus {
    border-color: #555;
}

/* Custom Select styling hack */
.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    content: '\f078'; /* FontAwesome chevron down */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #a0a0a0;
    pointer-events: none;
    font-size: 12px;
}

.form-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    color: #a0a0a0; /* Placeholder color initially */
}
.form-select:valid {
    color: #ffffff; /* Selected color */
}

.upload-area {
    border: 2px dashed #a0a0a0;
    border-radius: 8px;
    padding: 50px 20px;
    text-align: center;
    cursor: pointer;
    margin-bottom: 0; /* Reset margin */
    transition: all 0.3s ease;
    background-color: transparent; /* Inner bg */
    position: relative;
    height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.upload-area.highlight {
    border-color: #e63946;
    background-color: rgba(230, 57, 70, 0.05);
}

.upload-area input[type="file"] {
    display: none;
}

.upload-icon {
    font-size: 40px;
    color: #6c757d;
    margin-bottom: 15px;
}

.upload-text {
    font-size: 13px;
    color: #a0a0a0;
    margin-bottom: 5px;
}

.upload-text strong {
    color: #00bcd4; /* Cyan color matching the image */
}

.upload-subtext {
    font-size: 11px;
    color: #555;
}

.submit-btn {
    width: 100%;
    background: #e6272e;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 16px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
}

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

.footer-section {
    margin-top: 40px;
    text-align: center;
    width: 100%;
}

.footer-title {
    font-size: 14px;
    color: #a0a0a0;
    margin-bottom: 15px;
    font-weight: 500;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #1f1f26; /* Match card color or darker */
    color: #a0a0a0;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 30px; /* Pill shape */
    font-size: 13px;
    font-weight: 500;
    transition: background-color 0.3s, color 0.3s;
    border: 1px solid #2a2a35;
}

.social-link:hover {
    background-color: #2a2a35;
    color: #fff;
}

.social-icon-img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .form-row {
        flex-direction: column;
        gap: 20px;
    }
    
    .upload-card {
        padding: 25px;
    }

    .social-links {
        flex-direction: row;
        gap: 10px;
    }
    
    .social-link {
        width: auto;
        justify-content: center;
    }
}
