/* Stili per il form di candidatura */
.candidatura-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    margin-bottom: 50px;
}

.candidatura-popup {
    background-color: var(--color--dark);
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(230, 224, 198, 0.1);
    overflow: hidden;
    position: relative;
}

.candidatura-header {
    background-color: rgba(230, 224, 198, 0.05);
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid rgba(230, 224, 198, 0.08);
}

.candidatura-header h2 {
    color: var(--color--light);
    font-size: 24px;
    margin: 0;
}

.candidatura-header p {
    color: var(--color--light-0-7);
    font-size: 16px;
    margin: 10px 0 0;
}

.candidatura-body {
    padding: 25px;
}

.candidatura-footer {
    padding: 0 25px 25px;
    text-align: center;
}

/* Stile per il messaggio di risposta */
.response-message {
    background-color: rgba(230, 224, 198, 0.05);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px;
    border: 1px solid rgba(230, 224, 198, 0.1);
}

.response-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.response-icon.success:before {
    content: '✓';
    color: #4CAF50;
}

.response-icon.error:before {
    content: '✕';
    color: #FF6B6B;
}

.response-title {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--color--light);
}

.response-text {
    font-size: 16px;
    margin-bottom: 30px;
    color: var(--color--light-0-8);
}

/* Stili per il campo file */
input[type="file"] {
    width: 100%;
    padding: 10px;
    background-color: rgba(230, 224, 198, 0.05);
    border: 1px solid rgba(230, 224, 198, 0.15);
    border-radius: 8px;
    color: var(--color--light);
    cursor: pointer;
}

.file-info {
    font-size: 12px;
    color: var(--color--light-0-7);
    margin-top: 5px;
}

/* Stili per il select */
select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(230, 224, 198, 0.15);
    border-radius: 8px;
    background-color: rgba(230, 224, 198, 0.05);
    color: var(--color--light);
    font-size: 16px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23e6e0c6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    cursor: pointer;
}

select:focus {
    border-color: rgba(230, 224, 198, 0.4);
    outline: none;
    box-shadow: 0 0 0 3px rgba(230, 224, 198, 0.1);
}

/* Responsive adjustments */
@media (max-width: 500px) {
    .candidatura-popup {
        width: 95%;
    }
    
    .candidatura-header, 
    .candidatura-body, 
    .candidatura-footer {
        padding: 15px;
    }
}