:root {
    --primary-color: #AD0FDB;
    --secondary-color: #00BF63;
    --form-bg: #ffffff;
    --text-color: #1a1a1a;
    --border-color: #e2e8f0;
    --info-bg: #f8fafc;
    --warning-bg: #fffbf0;
    --warning-border: #f2e2a2;
}

body {
    font-family: 'Oxygen', sans-serif;
    background: linear-gradient(270deg, #0F693E 24%, #C1FF72 100%);
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
    padding: 40px 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'League Spartan', sans-serif;
    font-weight: 700;
}

.container {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    background: var(--form-bg);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08), 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.thank-you-container,
.verify-container {
    max-width: 600px;
    width: 100%;
    background: var(--form-bg);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08), 0 4px 15px rgba(0, 0, 0, 0.03);
    text-align: center;
    box-sizing: border-box;
}

.login-container {
    max-width: 400px;
    width: 100%;
    background: var(--form-bg);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08), 0 4px 15px rgba(0, 0, 0, 0.03);
    box-sizing: border-box;
}

.header {
    text-align: center;
    margin-bottom: 40px;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.nav h1 {
    margin: 0;
    text-align: left;
    font-size: 2em;
}

h1 {
    color: var(--primary-color);
    font-size: 2.5em;
    margin-bottom: 20px;
    text-align: center;
}

.subtitle {
    font-size: 1.2em;
    color: #555555;
    margin-top: 0;
    text-align: center;
}

h2 {
    color: var(--primary-color);
    font-size: 1.8em;
    margin-top: 40px;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 10px;
}

h3 {
    color: var(--secondary-color);
    font-size: 1.4em;
    margin-top: 25px;
    margin-bottom: 15px;
}

h4 {
    font-size: 1.2em;
    margin-bottom: 10px;
    margin-top: 0;
}

.intro-text,
.privacy-notice,
.contact-info,
.checkbox-container,
.alert {
    padding: 20px 25px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.intro-text {
    background-color: var(--info-bg);
    border-left: 5px solid var(--primary-color);
}

.privacy-notice {
    background-color: var(--warning-bg);
    border: 1px solid var(--warning-border);
    border-left: 5px solid var(--secondary-color);
}

.privacy-notice h3 {
    margin-top: 0;
    border: none;
}

.contact-info {
    background-color: var(--info-bg);
    border-left: 5px solid var(--secondary-color);
}

.alert {
    background-color: var(--warning-bg);
    border-left: 4px solid var(--warning-border);
    margin-bottom: 20px;
}

.intro-text ul {
    margin-top: 10px;
    padding-left: 20px;
}

.form-group {
    margin-bottom: 24px;
}

label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
}

input[type="text"],
input[type="email"],
input[type="number"],
input[type="password"],
select,
textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 1em;
    background-color: #fafafa;
    transition: all 0.3s ease;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    background-color: var(--form-bg);
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(0, 191, 99, 0.15);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group,
.radio-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
}

.checkbox-group input,
.radio-group input {
    margin-top: 5px;
    margin-right: 12px;
    accent-color: var(--secondary-color);
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-group label,
.radio-group label {
    font-weight: 400;
    margin-bottom: 0;
    cursor: pointer;
    line-height: 1.5;
}

.member-section {
    background: #fdfdfd;
    border: 1px solid var(--border-color);
    padding: 25px;
    border-radius: 16px;
    margin-bottom: 25px;
}

.member-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.submit-btn {
    background-color: var(--secondary-color);
    color: var(--form-bg);
    border: none;
    padding: 18px 32px;
    font-size: 1.2em;
    font-weight: 700;
    font-family: 'League Spartan', sans-serif;
    border-radius: 12px;
    cursor: pointer;
    width: 100%;
    margin-top: 30px;
    box-shadow: 0 4px 15px rgba(0, 191, 99, 0.3);
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(173, 15, 219, 0.4);
}

.submit-btn:active {
    transform: translateY(1px);
    box-shadow: 0 2px 10px rgba(0, 191, 99, 0.3);
}

.btn {
    background: var(--secondary-color);
    color: var(--form-bg);
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn:hover {
    background: var(--primary-color);
}

.btn-danger {
    background: #d32f2f;
}

.btn-danger:hover {
    background: #b71c1c;
}

.back-btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--form-bg);
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: bold;
    font-family: 'League Spartan', sans-serif;
    margin-top: 20px;
    transition: background-color 0.3s;
}

.back-btn:hover {
    background-color: var(--primary-color);
}

.required::after {
    content: " *";
    color: #d32f2f;
}

.note {
    font-size: 0.9em;
    color: #666666;
    margin-bottom: 15px;
    display: block;
    font-style: italic;
}

.error {
    color: #d32f2f;
    margin-bottom: 15px;
    font-weight: bold;
    text-align: center;
    background-color: #fdecea;
    padding: 10px;
    border-radius: 8px;
}

.register-links {
    margin-top: 30px;
    text-align: center;
    border-top: 1px solid var(--border-color);
    padding-top: 25px;
}

.register-links p {
    color: #666666;
    margin-bottom: 15px;
    font-weight: 600;
}

.reg-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.reg-btn {
    display: block;
    text-align: center;
    text-decoration: none;
    padding: 12px;
    border-radius: 10px;
    font-weight: 700;
    font-family: 'League Spartan', sans-serif;
    transition: all 0.3s ease;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    background: transparent;
    font-size: 1.1em;
}

.reg-btn:hover {
    background: var(--secondary-color);
    color: var(--form-bg);
    box-shadow: 0 4px 15px rgba(0, 191, 99, 0.2);
}

.mentor-btn {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.mentor-btn:hover {
    background: var(--primary-color);
    color: var(--form-bg);
    box-shadow: 0 4px 15px rgba(173, 15, 219, 0.2);
}

.drag-drop-area {
    border: 2px dashed #cbd5e1;
    border-radius: 16px;
    padding: 40px 20px;
    text-align: center;
    background-color: var(--info-bg);
    transition: all 0.3s ease;
    cursor: pointer;
    margin-bottom: 20px;
}

.drag-drop-area.dragover {
    background-color: rgba(0, 191, 99, 0.05);
    border-color: var(--secondary-color);
    transform: scale(1.02);
}

.drag-drop-area p {
    margin: 10px 0;
    color: #64748b;
    font-size: 1.1em;
}

.drag-drop-area i {
    font-size: 3.5rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.drag-drop-area:hover i {
    transform: translateY(-5px);
}

.file-name-display {
    margin-top: 15px;
    font-weight: bold;
    color: var(--secondary-color);
    font-size: 1.1em;
}

.card {
    border: 1px solid var(--border-color);
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 16px;
    background: var(--form-bg);
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

th,
td {
    border-bottom: 1px solid var(--border-color);
    padding: 12px 15px;
    text-align: left;
}

th {
    background-color: var(--primary-color);
    color: var(--form-bg);
    font-family: 'League Spartan', sans-serif;
    font-size: 1.1em;
}

th:first-child {
    border-top-left-radius: 10px;
}

th:last-child {
    border-top-right-radius: 10px;
}

tr:hover td {
    background-color: var(--info-bg);
}

.icon-success {
    font-size: 80px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.icon-error {
    font-size: 80px;
    color: #d32f2f;
    margin-bottom: 20px;
}

.eu-funded {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    font-size: 0.9em;
    color: #666666;
}

.bi {
    font-size: 25px;
}

@media (max-width: 600px) {
    .member-row {
        grid-template-columns: 1fr;
    }

    .container,
    .thank-you-container,
    .verify-container,
    .login-container {
        padding: 30px 20px;
        border-radius: 12px;
    }
}

.main-header {
    background: linear-gradient(270deg, #0F693E 24%, #C1FF72 100%);
    color: #ffffff;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    box-sizing: border-box;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-left .logo-title {
    margin: 0;
    color: #ffffff;
    font-size: 1.8em;
    border: none;
    padding: 0;
}

.header-center {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    font-family: 'League Spartan', sans-serif;
    transition: all 0.3s ease;
    padding: 8px 15px;
    border-radius: 8px;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: flex-end;
}

.welcome-text {
    font-size: 1.1em;
    font-family: 'Oxygen', sans-serif;
}

.logout-btn {
    background-color: var(--primary-color);
    color: #ffffff;
    text-decoration: none;
    padding: 5px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-family: 'League Spartan', sans-serif;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(173, 15, 219, 0.3);
    font-size: 20px !important;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.logout-btn:hover {
    background-color: #ffffff;
    color: var(--primary-color);
    transform: translateY(-2px);
}

@media (max-width: 850px) {
    .main-header {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
        position: relative;
    }
}

.container {
    margin-top: 40px !important;
    margin-bottom: 40px !important;
}

i.bi.bi-box-arrow-right {
    margin-right: 10px;
    margin-top: 4px;
}

i.bi.bi-file-earmark-check-fill {
    font-size: 40px;
}

div#file_name_display {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px !important;
}

.btn {
    font-family: 'League Spartan', sans-serif;
}

.header-center {
    display: flex;
    justify-content: center;
    width: 100%;
}

.header-left,
.header-right {
    width: 20%;
}

a.reg-btn {
    font-size: 23px;
}