:root {
  --sut-blue: #00397e;
  --sut-yellow: #fbba00;
  --hover-blue: #0055b8;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    margin: 0 auto;
    padding: 20px;
}

.container {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}

header {
    border-bottom: 2px solid var(--sut-blue);
    padding-bottom: 10px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    flex-direction: row;
}

#page-title {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
}

#smp-logo {
    height: 5rem;
    width: auto;
}

#sut-logo {
    height: 8rem;
    width: auto;
}

h1, h2, h3 {
    color: var(--sut-blue);
}

nav a {
    margin-right: 20px;
    text-decoration: none;
    color: var(--sut-blue);
    font-weight: bold;
}

nav a:hover {
    text-decoration: underline;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    text-decoration: none;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    min-width: 220px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.15);
    border-radius: 4px;
    overflow: hidden;
    z-index: 100;
}

.dropdown-content a {
    color: #333333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 0.95rem;
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background-color: #f8f9fa;
    color: var(--sut-blue, #003366);
}

.dropdown:hover .dropdown-content {
    display: block;
}

footer {
    margin-top: 50px;
    font-size: 0.9em;
    color: #777;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.btn {
    display: inline-block;
    background-color: var(--sut-blue);
    text-decoration: none;
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    text-align: center;
    width: 100%;
    max-width: 280px;
    box-sizing: border-box;
    transition: background-color 0.3s ease, transform 0.1s ease;
}

.btn:hover {
    background-color: var(--hover-blue);
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
}

.conference-name {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--sut-blue);
    text-align: center;
    margin-top: 0;
    margin-bottom: 0;
}

.upcoming-conference {
    background-color: #f0f0f0;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 450px;
    margin: 0 auto;
}

.conference-info {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.poster {
    max-width: 50%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    margin-bottom: 25px;
}

.organizers-block {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
}

.organizer {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
}

.organizer-logo {
    max-width: 150px;
}

footer a {
    display: block;
    margin-top: 5px;
}

#fb-logo {
    height: 30px;
    width: auto;
}

.main-div {
    display: flex;
    gap: 30px;
}

.main-right {
    max-width: 30%;
}

.right-poster {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.payment-info {
    border-left: 5px solid var(--sut-yellow);
    border-radius: 5px;
    padding-left: 30px;
}

.form-container {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #ddd;
    margin-top: 20px;
}

.form-info-rodo {
    background-color: #e6f0fa;
    border-left: 4px solid var(--sut-blue);
    padding: 15px;
    font-size: 0.85rem;
    margin-bottom: 30px;
    color: #444;
    border-radius: 5px
}

.form-group {
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: bold;
    margin-bottom: 8px;
}

.required {
    color: red;
}

.custom-form input[type="text"],
.custom-form input[type="email"],
.custom-form textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    width: 100%;
    box-sizing: border-box;
}

.radio-group, .checkbox-group {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.radio-group label, .checkbox-group label {
    font-weight: normal;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.t-shirt-section {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #eee;
}

.download-btn {
    display: inline-block;
    background-color: var(--sut-blue);
    text-decoration: none;
    color: #ffffff;
    padding: 7px 28px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: bold;
    text-align: center;
    width: 100%;
    max-width: 250px;
    box-sizing: border-box;
    transition: background-color 0.3s ease, transform 0.1s ease;
}

.download-btn:hover {
    background-color: var(--hover-blue);
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
}

.submit-btn {
    margin-top: 20px;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.participants-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-family: 'Open Sans', sans-serif;
}

.participants-table th {
    background-color: var(--sut-blue);
    color: white;
    text-align: left;
    padding: 12px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.participants-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #eee;
    color: #333;
}

.participants-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

.participants-table tr:hover {
    background-color: #f1f1f1;
}

@media (max-width: 600px) {
    .t-shirt-section {
        flex-direction: column;
        gap: 20px;
    }
    .t-shirt-image img {
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    nav a { display: block; margin-bottom: 10px; }
}