.submission-container {
    padding: 2.3rem;
    margin-top: 0;
    display: flex;
    justify-content: flex-end;
    width: 100%;
    background-color: white;
    min-height: 100vh;
    position: relative;
    font-family: 'Lato', sans-serif;
    z-index: 1;
    font-size: 80%;
    margin-left: auto;
    padding-left: 500px; /* Space for the sidebar */
}

.submission-container.right-aligned {
    padding: 2.3rem;
    padding-left: 500px; /* Space for the sidebar */
}

.submission-content {
    width: 100%;
    max-width: 900px;
    background: white;
    border-radius: 16px;
    padding: 3rem;
    color: black;
    position: relative;
    z-index: 2;
    box-shadow: none;
    border: 1px solid rgba(33, 33, 33, 0.2); /* Ultra-light thin border in dark grey */
    animation: fadeIn var(--animation-timing);
    margin-right: 50px; /* Add some space from the right edge */
}

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

.submission-title {
    color: black;
    font-size: 2rem;
    margin-bottom: 3rem;
    text-align: center;
    line-height: 1.3;
    position: relative;
    padding-bottom: 15px;
    font-weight: 400;
    border-bottom: none;
}

.submission-title:after {
    display: none; /* Remove the green line under the title */
}

.submission-section {
    margin-bottom: 3rem;
    animation: fadeIn calc(var(--animation-timing) * 1.2);
}

.submission-section h2 {
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: black;
    position: relative;
    display: inline-block;
}

.submission-section h2:after {
    display: none; /* Remove the green line under section headings */
}

.submission-section h3 {
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 1rem;
    color: #333;
}

.submission-section p, 
.submission-section li {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    color: #555;
    font-weight: bold;
}

.submission-section ul,
.submission-section ol {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
    list-style: none;
}

.submission-section ul li {
    margin-bottom: 0.5rem;
    position: relative;
}

.submission-section ul li::before {
    content: "°";
    color: #555;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
    position: absolute;
}

.submission-section li {
    margin-bottom: 0.5rem;
    position: relative;
}

.submission-form {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
    margin-bottom: 3rem;
    box-shadow: none;
    border: 1px solid rgba(33, 33, 33, 0.1); /* Ultra-light thin border in dark grey */
    transition: all 0.3s ease;
    animation: fadeIn calc(var(--animation-timing) * 1.5);
}

.submission-form h2 {
    font-size: 1.5rem; /* 10% smaller than the section h2 */
    font-weight: 400; /* Light weight */
    margin-bottom: 1.2rem;
    color: black; /* 10% lighter than solid black */
}

.submission-form:hover {
    box-shadow: none;
    border-color: rgba(33, 33, 33, 0.2); /* Slightly darker on hover */
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #444;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

/* Add required field marker style */
.form-group label.required::after {
    content: " *";
    color: #c1440e;
    font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'Lato', sans-serif;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background-color: white;
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: #ccc;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #999;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
}

.form-group:focus-within label {
    color: #555; /* Change from green to dark grey */
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #aaa;
}

.form-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.acceptance-checkbox {
    display: flex;
    align-items: flex-start;
}

.acceptance-checkbox input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
    margin-top: 5px;
}

.acceptance-checkbox label {
    margin: 0;
    flex: 1;
}

.submit-button {
    background: rgba(193, 68, 14, 0.6); /* Orange color as specified */
    color: white;
    border: none;
    padding: 0.9rem 2rem;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    display: block;
    width: 100%;
    max-width: 200px;
    margin: 2rem auto 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.submit-button:hover {
    background: rgba(5, 154, 40, 0.6); /* Green color on hover */
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(5, 154, 40, 0.2);
}

.submit-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(5, 154, 40, 0.3);
}

.institutions-section {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.contact-info {
    background-color: white;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    animation: fadeIn 1.2s ease-out;
    border: 1px solid rgba(33, 33, 33, 0.1); /* Ultra-light thin border in dark grey */
}

.contact-info a {
    color: #333; /* Change from green to dark grey */
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.contact-info a:hover {
    text-decoration: underline;
    color: #555; /* Change from green to dark grey */
}

@media (max-width: 1200px) {
    .submission-container,
    .submission-container.right-aligned {
        padding-left: 50px; /* Reduce the left padding on medium screens */
        justify-content: center;
    }
    
    .submission-content {
        margin-right: 0;
    }
}

/* Removed all @media (max-width: 768px) and @media (max-width: 480px) blocks for mobile-specific CSS. Mobile styles are now handled inline in submission.html. */

.institution-notice {
    text-align: left;
    margin: 1.5rem 0 0;
    padding: 0;
    position: relative;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
}

.institution-notice .notice-text {
    margin: 0;
    display: inline-block;
    color: #555;
    font-size: 1rem;
    transition: color 0.2s ease;
}

.institution-notice.hovered .notice-text,
.institution-notice:hover .notice-text {
    color: rgba(193, 68, 14, 0.8);
}

.institution-notice::after {
    content: "↓";
    display: inline-block;
    font-size: 1.2rem;
    margin-left: 8px;
    color: rgba(33, 33, 33, 0.6);
    transition: all 0.2s ease;
    position: static;
    transform: none;
}

.institution-notice.hovered::after,
.institution-notice:hover::after {
    color: rgba(193, 68, 14, 0.6);
    transform: translateY(3px);
}

/* Animation timing variables */
:root {
    --animation-timing: 0.6s ease-out;
}

/* Disciplines Grid Styles */
.disciplines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 0.5rem;
}

.discipline-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.discipline-item input[type="checkbox"] {
    width: auto;
    margin: 0;
    cursor: pointer;
}

.discipline-item label {
    margin: 0;
    cursor: pointer;
    font-weight: normal;
    font-size: 0.9rem;
    color: #444;
}

.discipline-item:hover label {
    color: #000;
}

.discipline-error {
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.other-discipline-field {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.other-discipline-field:hover {
    border-color: #ccc;
}

.other-discipline-field textarea {
    min-height: 60px;
    resize: vertical;
}

.word-count {
    text-align: right;
    font-size: 0.8rem;
    color: #666;
    margin-top: 0.5rem;
    transition: color 0.3s ease;
}

/* Form Columns */
.form-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
} 