body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-image: url("http://res.cloudinary.com/dccqkyfpt/image/upload/v1740919118/rdp8qqa3z67bulgjbkzl.jpg");
    background-repeat: no-repeat;
    background-position:center;
    background-size: cover;
    margin: 0;
    font-family: Helvetica, sans-serif;
}
main {
    background: #222;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
    width: 350px;
}

/*.title {*/
/*    background: black;*/
/*    color: white;*/
/*    padding: 10px;*/
/*    border-radius: 20px;*/
/*    display: inline-block;*/
/*    margin-bottom: 20px;*/
/*}*/
.fullscreen-image {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.login-form{
    display: flex;
    flex-direction: column;
    max-width: 400px;
    padding: 15px;
    margin: 10px;
}
.login-form label {
    color: white;
    font-weight: bold;
    margin-top: 10px;
    text-align: center;
    font-size: 26px;
}
.login-form input {
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    border: none;
    border-radius: 5px;
}
/*.athletics-form {*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*    max-width: 400px;*/
/*    padding: 15px;*/
/*    margin: 10px;*/
/*}*/


.athletics-form {
    display: flex;
    flex-direction: column;
    max-width: 400px;
    background: rgba(255, 255, 255, 0.9);
    padding: 70px;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
}
.athletics-info {
    margin-top: 20px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
    max-width: 400px;
}

.athletics-info h2, .athletics-info p {
    margin: 10px 0;
}

.athletics-form label {
    color: black;
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 18px;
}

.athletics-form select {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 16px;
}

.athletics-form button {
    margin-top: 15px;
}
.discipline-info-box {
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 20px;
    border-radius: 12px;
    text-align: center;

    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
      width: 90%;
      max-width: 1000px;
      margin: 20px auto;
}

.discipline-info-box h2 {
    font-size: 28px;
    margin-bottom: 10px;
    font-weight: bold;
}

.discipline-info-box p {
    font-size: 16px;
    margin: 4px 0;
}

.comments-section {
  max-height: 250px;    /* контейнерът расте до 250px, после scroll */
  overflow-y: auto;     /* вертикален скрол */
  overflow-x: hidden;   /* без хоризонтален скрол */
  margin-top: 1rem;
  padding-right: 0.5rem;
  border-top: 1px solid #ddd;
}



.comments-section article {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}


.comments-section p {
    color: black;
    font-weight: 500;
    margin-bottom: 0.3rem;
}

.comments-section .comment-date {
    color: #333;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}
.discipline-image {
  flex: 0 0 45%;
  max-width: 500px;
}

.discipline-image img {
    max-width: 500px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0,0,0,0.4);
}
.discipline-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    margin-top: 30px;
}
.comment-section {
      flex: 0 0 45%;
      min-width: 300px;
      max-width: 500px;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    align-self: flex-start;
}

.comment-section h3 {
    margin-top: 0;
    color: #333;
}

.comment-section textarea {
    width: 100%;
    height: 80px;
    resize: none;
    padding: 8px;
    margin-bottom: 10px;
}

.comment-section button {
    padding: 6px 12px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
}

.comment-section button:hover {
    background-color: #0056b3;
}



















.btn-choose{
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-primary:hover {
    background-color: #0056b3;
}


.register-form {
    display: flex;
    flex-direction: column;
    max-width: 400px;
    padding: 15px;
    margin: 10px;
}
.register-form label {
    color: white;
    font-weight: bold;
    margin-top: 10px;
    text-align: center;
    font-size: 26px;
}
.register-form input {
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    border: none;
    border-radius: 5px;
}
.register-button {
    background: yellow;
    border: none;
    cursor: pointer;
    border-radius: 12px;
    font-weight: bold;
    display: block;
    margin: 15px auto;
    padding: 13px 44px;
    font-size: 19px;
    letter-spacing: 2px;
}
fieldset {
    border: none;
}
.header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 0px;
    align-items: center;
    display: flex;
    justify-content: space-between;
}
.header-logo{
    display: flex;
    align-items: center;
}
.header-logo-site-title{
    font-size: 36px;
    padding-right: 25px;
    position: relative;
}
.header-logo-site-title::after{
    content: "";
    width: 1px;
    height:90%;
    background: black;
    position: absolute;
    right: 11px;
}
.header-logo-site-source{
    color: yellow;
    font-size: 15px;
    font-weight: normal;
}
.header-nav {
    flex-grow: 1;
    display: flex;
    justify-content: flex-end;
}
.header-nav-list-sports{
    padding-right: 15px;
    flex-grow: 1;
    display:flex;
    gap:20px;
}

.header-nav-list{
    padding-right: 15px;
    display:flex;
    gap:20px;
}
.header-nav-list-item {
    list-style: none;
    background: #ECECEC;
    padding: 18px;
    margin: 0 1px;
    border-radius: 12px;

}
.header-nav-list-item-link{
    text-decoration: none;
    color: black;

}

.header-nav-list-item-link.active a{
    color: white;
}

.logout-button {
    background-color: #ff4d4d;
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
}
.welcome-message {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px 40px;
    border-radius: 12px;
    font-size: 28px;
    font-weight: 600;
    color: #003366;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    z-index: 100;
}

.manage-container {
    background-color: rgba(255, 255, 255, 0.8);
    margin: 80px auto;
    padding: 30px 50px;
    width: 80%;
    border-radius: 16px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.manage-container h2 {
    text-align: center;
    color: #003366;
    font-size: 28px;
    margin-bottom: 30px;
}

.manage-table {
    width: 100%;
    border-collapse: collapse;
}

.manage-table th, .manage-table td {
    padding: 12px 16px;
    text-align: center;
    border-bottom: 1px solid #ccc;
    font-size: 16px;
}

.manage-table th {
    background-color: #004080;
    color: white;
}

.manage-table select, .manage-table button {
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid #888;
    font-size: 14px;
    cursor: pointer;
}

.manage-table button {
    background-color: #ff6666;
    color: white;
    border: none;
    transition: background-color 0.3s;
}

.manage-table button:hover {
    background-color: #cc0000;
}
.btn-return {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  background-color: #007bff;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.9rem;
}
