/* _content/WebApp/Pages/Events/Details.cshtml.rz.scp.css */
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using WebApp.Data;
using WebApp.Models;

namespace WebApp.Pages.Events;

public class DetailsModel : PageModel[b-gd0viisn4h]
{
    private readonly ApplicationDbContext _db;
    public Event? Event { get; private set; }

    public DetailsModel(ApplicationDbContext db) => _db = db;

    public async Task<IActionResult> OnGetAsync(int id)[b-gd0viisn4h]
    {
        Event = await _db.Events.FindAsync(id);
        return Event == null ? NotFound() : Page();
    }
}
/* _content/WebApp/Pages/Index.cshtml.rz.scp.css */
/* .img-fluid {
    height: 843px;
    object-fit: cover;
}

div.mb-3 {
    position: relative;
}

div.mb-3 .invite-header {
    position: absolute;
    bottom: 240px;
    left: 40px;
}

div.mb-3 a {
    position: absolute;
    text-decoration: none;
    color: var(--black);
    font-size: 36px;
    border: 2px red solid;
    border-radius: 10px;
    padding: 2px 10px;
    bottom: 135px;
    left: 40px;

    transition: background-color 0.3s ease,
                color 0.3s ease,
                box-shadow 0.3s ease,
                transform 0.3s ease;
}

div.mb-3 a:hover {
    background-color: rgb(255, 72, 72);
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(-3px);
    border-color: transparent;
} */


.hero-banner[b-cmevq6qeh6] {
    position: relative;
    overflow: hidden;
}

.hero-banner img[b-cmevq6qeh6] {
    height: 843px;
    object-fit: cover;
}

.hero-content[b-cmevq6qeh6] {
    position: absolute;
    bottom: 100px;
    left: 40px;
    transform: translateY(-50%);
    color: black;
}

.hero-title[b-cmevq6qeh6] {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-banner-placeholder[b-cmevq6qeh6] {
    height: 400px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    padding-left: 50px;
    color: white;
}

.section-title[b-cmevq6qeh6] {
    color: #c41e3a;
    font-weight: bold;
    margin-bottom: 2rem;
}

.summary-card[b-cmevq6qeh6] {
    background: white;
    border-radius: 15px;
    padding: 12px;
    border: 2px solid var(--red);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.summary-card:hover[b-cmevq6qeh6] {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.card-title[b-cmevq6qeh6] {
    color: var(--red);
    margin-bottom: 21px;
    font-size: 36px;
}

.card-icon[b-cmevq6qeh6] {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    opacity: 0.1;
}

.news-card .card-icon[b-cmevq6qeh6] { color: #17a2b8; }
.event-card .card-icon[b-cmevq6qeh6] { color: #28a745; }
.athlete-card .card-icon[b-cmevq6qeh6] { color: #ffc107; }

.card-subtitle[b-cmevq6qeh6] {
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 24px;
}

.card-date[b-cmevq6qeh6] {
    font-size: 0.875rem;
    color: #6c757d;
    margin-inline: auto;
    margin-top: auto;
}

.card-location[b-cmevq6qeh6] {
    margin-inline: auto;
}

.card-content[b-cmevq6qeh6] {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-location[b-cmevq6qeh6] {
    font-size: 0.875rem;
    color: #6c757d;
}

.athlete-avatar[b-cmevq6qeh6] {
    max-height: 216px;
    margin: auto;
    display: block;
    object-fit: cover;
}

.athlete-avatar-placeholder[b-cmevq6qeh6] {
    border-radius: 50%;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 1.5rem;
}

.card-achievement[b-cmevq6qeh6] {
    font-size: 0.875rem;
    color: #28a745;
    font-weight: 500;
}

.freestyle-media img[b-cmevq6qeh6] {
    max-height: 300px;
    object-fit: cover;
}

.freestyle-placeholder[b-cmevq6qeh6] {
    height: 300px;
    background: #f8f9fa;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.disciplines-container[b-cmevq6qeh6] {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.discipline-tab[b-cmevq6qeh6] {
    padding: 0.75rem 1.5rem;
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    text-decoration: none;
    color: #495057;
    font-weight: 500;
    transition: all 0.3s ease;
}

.discipline-tab:hover[b-cmevq6qeh6],
.discipline-tab.active[b-cmevq6qeh6] {
    background: #c41e3a;
    border-color: #c41e3a;
    color: white;
    transform: translateY(-2px);
}

.discipline-img[b-cmevq6qeh6] {
    height: 120px;
    object-fit: cover;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.weekly-summary[b-cmevq6qeh6], .freestyle-info[b-cmevq6qeh6],
.freestyle-disciplines[b-cmevq6qeh6] {
    padding: 0 40px;
}

.freestyle-info .btn[b-cmevq6qeh6] {
    background-color: #a2a6aa;
    color: var(--black);
    font-size: 24px;
    border: none;
    border-radius: 20px;
}

.row.align-items-center[b-cmevq6qeh6] {
    border: 2px solid red;
    padding: 20px 10px;
}
/* _content/WebApp/Pages/Shared/_Footer.cshtml.rz.scp.css */
/* Файл: WebApp/wwwroot/css/footer.css */

.site-footer[b-y4lmfs38s6] {
    background: linear-gradient(to right, var(--card_background), var(--red));
    color: black;
    margin-top: auto;
    font-size: 14px;
    line-height: 1.5;
}

.footer-container[b-y4lmfs38s6] {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Основной контент подвала */
.site-footer > .footer-container[b-y4lmfs38s6] {
    display: grid;
    gap: 20px;
    padding: 30px 15px;
}

/* Секции подвала */
.footer-section h3[b-y4lmfs38s6],
.footer-section h4[b-y4lmfs38s6] {
    color: black;
    margin: 0 0 12px 0;
    font-weight: 600;
}

.footer-section h3[b-y4lmfs38s6] {
    font-size: 18px;
}

.footer-section h4[b-y4lmfs38s6] {
    font-size: 16px;
}

.footer-description[b-y4lmfs38s6] {
    margin: 0;
    color: black;
    font-size: 13px;
}

/* Ссылки */
.footer-links[b-y4lmfs38s6] {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li[b-y4lmfs38s6] {
    margin-bottom: 8px;
}



/* Контакты */
.contact-item[b-y4lmfs38s6] {
    margin-bottom: 8px;
    font-size: 13px;
}

.contact-label[b-y4lmfs38s6] {
    color: black;
    margin-right: 5px;
}

.contact-item a[b-y4lmfs38s6] {
    color: var(--dark-red);
    text-decoration: none;
}

.contact-item a:hover[b-y4lmfs38s6] {
    color: #ffffff;
}

/* Нижняя часть подвала */
.footer-bottom[b-y4lmfs38s6] {
    border-top: 1px solid #333;
    background: rgba(0, 0, 0, 0.2);
}

.footer-bottom .footer-container[b-y4lmfs38s6] {
    padding: 15px;
    text-align: center;
}

.copyright[b-y4lmfs38s6] {
    margin: 0;
    color: black;
    font-size: 12px;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 560px) {
    .site-footer > .footer-container[b-y4lmfs38s6] {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 25px 15px;
    }

    .footer-section[b-y4lmfs38s6] {
        text-align: center;
    }

    .footer-section h3[b-y4lmfs38s6],
    .footer-section h4[b-y4lmfs38s6] {
        margin-bottom: 15px;
    }

    .footer-links li[b-y4lmfs38s6] {
        margin-bottom: 10px;
    }

    .contact-item[b-y4lmfs38s6] {
        margin-bottom: 10px;
    }
}

@media (min-width: 561px) and (max-width: 768px) {
    .site-footer > .footer-container[b-y4lmfs38s6] {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (min-width: 769px) {
    .site-footer > .footer-container[b-y4lmfs38s6] {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
        gap: 30px;
        padding: 40px 15px;
    }
}

/* Для очень узких экранов (320px) */
@media (max-width: 360px) {
    .footer-container[b-y4lmfs38s6] {
        padding-left: 10px;
        padding-right: 10px;
    }

    .site-footer > .footer-container[b-y4lmfs38s6] {
        padding: 20px 10px;
        gap: 20px;
    }

    .footer-section h3[b-y4lmfs38s6] {
        font-size: 16px;
    }

    .footer-section h4[b-y4lmfs38s6] {
        font-size: 14px;
    }

    .footer-links a[b-y4lmfs38s6],
    .contact-item[b-y4lmfs38s6],
    .footer-description[b-y4lmfs38s6] {
        font-size: 12px;
    }

    .copyright[b-y4lmfs38s6] {
        font-size: 11px;
    }
}

/* Улучшение доступности */
@media (prefers-reduced-motion: reduce) {
    .footer-links a[b-y4lmfs38s6] {
        transition: none;
    }
}

/* Высокая плотность пикселей */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .site-footer[b-y4lmfs38s6] {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}
/* _content/WebApp/Pages/Shared/_Header.cshtml.rz.scp.css */
header[b-jo3r5etoz3] {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.header-top-container[b-jo3r5etoz3] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 28px;
    background: linear-gradient(to right, var(--card_background), var(--red));
    height: 70px;
    font-size: 20px;
    width: 100%;
}

.header-logo-txt[b-jo3r5etoz3] {
    font-size: 24px;
    margin: unset;
}

.header-top[b-jo3r5etoz3] {
    display: flex;
    align-items: center;
    gap: 21px;
}

.header-nav[b-jo3r5etoz3] {
    width: 100%;
    min-height: 70px;
    padding: 0 28px;
}



.header-nav ul[b-jo3r5etoz3] {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 37px;
    padding: 20px 0;
}

nav a[b-jo3r5etoz3]{
    display:block;
    text-decoration:none;
    font-size: 18px;
    font-weight: 500;
    color: var(--white);
    transition:background .2s ease;
    position:relative;
}

nav a[b-jo3r5etoz3]::after{
    content:"";
    position:absolute;
    left:0;
    bottom:.25rem;
    width:100%;
    height:2px;
    background: var(--white);
    transform-origin:left center;
    transform:scaleX(0);
    transition:transform .25s ease-out;
}

.header-nav a:hover[b-jo3r5etoz3]::after,
.header-nav a:focus[b-jo3r5etoz3]::after,
.header-nav .active[b-jo3r5etoz3]::after{
    transform:scaleX(1);
}

/* Navigation animation */
.header-nav ul li[b-jo3r5etoz3] {
    opacity: 0;
    transform: translateY(-10px);
}
@media (prefers-reduced-motion: no-preference) {
    .header-nav ul.animate li[b-jo3r5etoz3] {
        animation: nav-slide-b-jo3r5etoz3 .3s ease-out forwards;
    }
    .header-nav ul.animate li:nth-child(1)[b-jo3r5etoz3] { animation-delay: .05s; }
    .header-nav ul.animate li:nth-child(2)[b-jo3r5etoz3] { animation-delay: .1s; }
    .header-nav ul.animate li:nth-child(3)[b-jo3r5etoz3] { animation-delay: .15s; }
    .header-nav ul.animate li:nth-child(4)[b-jo3r5etoz3] { animation-delay: .2s; }
    .header-nav ul.animate li:nth-child(5)[b-jo3r5etoz3] { animation-delay: .25s; }
    .header-nav ul.animate li:nth-child(6)[b-jo3r5etoz3] { animation-delay: .3s; }
    .header-nav ul.animate li:nth-child(7)[b-jo3r5etoz3] { animation-delay: .35s; }
    .header-nav ul.animate li:nth-child(8)[b-jo3r5etoz3] { animation-delay: .4s; }
    .header-nav ul.animate li:nth-child(9)[b-jo3r5etoz3] { animation-delay: .45s; }
    .header-nav ul.animate li:nth-child(10)[b-jo3r5etoz3] { animation-delay: .5s; }
}
@keyframes nav-slide-b-jo3r5etoz3 {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* _content/WebApp/Pages/Shared/_Layout.cshtml.rz.scp.css */
/* Please see documentation at https://learn.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand[b-qeb871jn8t] {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

a[b-qeb871jn8t] {
  color: var(--red);
  text-decoration: none;
}
a:hover[b-qeb871jn8t] {
  color: var(--dark-red);
}

.btn-primary[b-qeb871jn8t] {
  color: var(--white);
  background-color: var(--red);
  border-color: var(--red);
}

.nav-pills .nav-link.active[b-qeb871jn8t], .nav-pills .show > .nav-link[b-qeb871jn8t] {
  color: var(--white);
  background-color: var(--red);
  border-color: var(--red);
}

.border-top[b-qeb871jn8t] {
  border-top: 1px solid #e5e5e5;
}
.border-bottom[b-qeb871jn8t] {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow[b-qeb871jn8t] {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy[b-qeb871jn8t] {
  font-size: 1rem;
  line-height: inherit;
}

.footer[b-qeb871jn8t] {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px;
}

.container[b-qeb871jn8t] {
  max-width: 1920px;
  padding: unset;
}
/* _content/WebApp/Pages/Shared/_LoginModal.cshtml.rz.scp.css */
.auth-overlay[b-u5stz8y4gy]{
    position:fixed;
    inset:0;
    display:flex;
    justify-content:center;
    align-items:center;
    background:var(--overlay);
    z-index:1050;
}

.auth-card[b-u5stz8y4gy]{
    width:800px;
    border-radius:var(--radius);
    background:var(--card-bg);
    box-shadow:0 4px 20px rgb(0 0 0/.25);
    text-align:center;position:relative;
}

.auth-card > form[b-u5stz8y4gy] {
    padding: 28px;
}

.auth-title[b-u5stz8y4gy]{
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100px;

    background-color: var(--red);
    border-radius: 20px;

    color:var(--white);
    font-size:40px;
    margin: unset;
    margin-bottom: 109px;
    /* font-weight:700; */
}

.auth-card[b-u5stz8y4gy] {
    background: linear-gradient(to bottom, #F2F2F2, #FFC7C7) no-repeat;
    border-radius: 20px;
}

.input-wrapper[b-u5stz8y4gy] {
    background-color: var(--red);
    padding: 29px;
    min-width: 530px;
    border-radius: 20px;
    width: min-content;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.input-wrapper > div[b-u5stz8y4gy] {
    display: flex;
    color: var(--white);
}

.input-wrapper > div > p[b-u5stz8y4gy] {
    display: inline-flex;
    font-size: 32px;
    width: 126px;
    margin: unset;
    margin-right: 5px;
}

.auth-input[b-u5stz8y4gy] {
    border: unset;
    color: var(--white);
    background-color: var(--card_background);
}

.auth-input[b-u5stz8y4gy]{
    width:100%;
    max-width: 342px;
    height:46px;
    padding:0 12px;
    font-size:18px;
}

.auth-btn[b-u5stz8y4gy]{
    width:233px;
    height:66px;
    margin-top: 87px;
    background:var(--red);
    border:none;
    border-radius: 20px;
    color:#fff;
    font-size:32px;
    font-weight:600;
    cursor:pointer;
}

.auth-register[b-u5stz8y4gy]{
    display:inline-block;
    margin-top: 20px;
    font-size: 18px;
    color:var(--red);
    margin-bottom: 20px;
}
/* _content/WebApp/Pages/Shared/_LoginPartial.cshtml.rz.scp.css */
.btns[b-a5p9yi123p] {
    display: flex;
    gap: 21px;
}

button[b-a5p9yi123p] {
    text-decoration: none;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    height: 54px;
    background: var(--dark-red);
    border-radius: 20px;
    color: var(--white)!important;
    vertical-align:bottom;
    min-width: 142px;
    transition: 0.2s;
    cursor: pointer;
    border: none;
}

button:hover[b-a5p9yi123p] {
    transform: translateX(-2px) translateY(-2px);
    box-shadow: 2px 2px 2px black;
}
