.erasmus-form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.form-step {
    background: #fff;
    padding: 50px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.hidden {
    display: none;
}

.language-selection {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}

.language-option {
    text-align: center;
    cursor: pointer;
    padding: 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.language-option:hover {
    background: #f5f5f5;
}

.language-option img {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
}

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

label {
    display: block;
    margin-bottom: 5px;
}

input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

input:disabled {
    background-color: #e9ecef;
    cursor: not-allowed;
}

button {
    background: #BB1D2C;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background: #7c131e;
}

.back-button {
    background: none;
    color: gray;
    margin-left: -35px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-bottom: 20px;
    transition: padding-left 0.3s ease;
    padding-left: 15px;
    position: relative;
}

.back-button:hover {
    background: none;
    padding-left: 25px;
}

.back-button::before {
    content: "←";
    position: absolute;
    opacity: 0;
    left: 10px;
    transition: opacity 0.3s ease;
}

.back-button:hover::before {
    opacity: 1;
}

/* Hide both back buttons by default */
.english-back, .greek-back {
    display: none;
}

/* Show the appropriate back button when it doesn't have the hidden class */
.english-back:not(.hidden), .greek-back:not(.hidden) {
    display: block;
}

.hidden {
    display: none;
}

.form-english:not(.hidden), .form-greek:not(.hidden) {
    display: block;
}

.error-message {
    font-size:17px !important;
    color: #721c24 !important;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.error {
    border-color: #dc3545 !important;
    background-color: #fff8f8;
}

.success-message {
    font-size:17px !important;
    color: #155724 !important;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 4px;
}
.g-recaptcha {
    margin-bottom: 20px;
}

.g-recaptcha > div {
    margin: 0 auto;
}