@import url('variables.css');

/* Импорт шрифтов */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=PT+Sans+Narrow:wght@700&display=swap');

/* Базовые стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    scroll-margin-block-start: 20px;
}

img {
    max-width: 100%;
    display: block;
}

button, input, input::placeholder, textarea {
    font-size: inherit;
    font-family: inherit;
    line-height: 1.22;
}

button {
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0);
    border: none;
    font-family: inherit;
}

a, button {
    color: inherit;
}

a {
    text-decoration: none;
}

html {
    font-size: 16px;
}

@media (max-width: 767px) {
    html {
        overflow-x: hidden;
    }
}

body {
    min-height: 100vh;
    font-size: 1rem;
    line-height: 1;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    color: var(--text-main);
}

body, main {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

main {
    flex-grow: 1;
}

/* Контейнер */
.container {
    width: 100%;
    max-width: calc(var(--container-width) + var(--container-padding) * 2);
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
    margin: 0 auto;
}

/* Секции */
.section {
    padding: 50px 0;
}

@media (max-width: 1199px) {
    .section {
        padding: 30px 0;
    }
}

/* Заголовки */
.title {
    text-wrap: balance;
    line-height: 1.3;
    font-family: 'PT Sans Narrow', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
}

.title b, .title em {
    font-style: inherit;
    font-weight: inherit;
    color: var(--text-secondary);
}

.title-1 {
    font-size: 200px;
}

@media (max-width: 1366px) {
    .title-1 {
        font-size: 140px;
    }
}

@media (max-width: 1199px) {
    .title-1 {
        font-size: 84px !important;
    }
}

@media (max-width: 767px) {
    .title-1 {
        font-size: 46px !important;
    }
}

.title-2 {
    font-size: 130px;
}

@media (max-width: 1366px) {
    .title-2 {
        font-size: 90px;
    }
}

@media (max-width: 1199px) {
    .title-2 {
        font-size: 52px;
    }
}

@media (max-width: 767px) {
    .title-2 {
        font-size: 46px;
        text-align: left !important;
        margin-bottom: 30px !important;
    }
}

.title-3 {
    font-size: 40px;
}

@media (max-width: 1366px) {
    .title-3 {
        font-size: 28px;
    }
}

@media (max-width: 1199px) {
    .title-3 {
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    .title-3 {
        font-size: 20px;
    }
}

/* Кнопки */
.button {
    display: flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    font-family: inherit;
    font-weight: 800;
    max-width: 100%;
    background-color: var(--button-background);
    border-color: var(--button-border-color);
    border-width: 1px;
    border-style: solid;
    border-radius: 10px;
    text-wrap: nowrap;
    transition: color 0.4s ease-out, background-color 0.4s ease-out;
}

@media (max-width: 1199px) {
    .button {
        border-radius: 4px;
    }
}

@media (max-width: 767px) {
    .button {
        border-radius: 6px;
    }
}

.button-small {
    padding: 14px 30px;
    font-size: var(--size-l);
    gap: var(--size-2xs);
}

@media (max-width: 1600px) {
    .button-small {
        font-size: var(--size-s);
    }
}

@media (max-width: 1366px) {
    .button-small {
        font-size: var(--size-xs);
    }
}

@media (max-width: 1199px) {
    .button-small {
        font-size: var(--size-2xs);
        padding: 5px 12px;
        gap: 6px;
    }
}

@media (max-width: 767px) {
    .button-small {
        padding: 8px 12px;
    }
}

.button-medium {
    padding: 24px 60px;
    min-width: min(400px, 100%);
    max-width: 100%;
    font-size: var(--size-xl);
    gap: var(--size-xs);
}

@media (max-width: 1366px) {
    .button-medium {
        font-size: var(--size-s);
        padding: 16px 30px;
        min-width: min(284px, 100%);
    }
}

@media (max-width: 1199px) {
    .button-medium {
        font-size: var(--size-2xs);
        padding: 10px 20px;
        min-width: min(166px, 100%);
    }
}

@media (max-width: 767px) {
    .button-medium {
        font-size: var(--size-s);
        padding: 12px 60px;
        min-width: auto;
    }
}

.button-default {
    color: var(--text-main);
    --button-background: var(--primary-orange);
    --button-border-color: var(--primary-orange);
}

@media (hover: hover) {
    .button-default:hover {
        color: var(--white);
        --button-background: var(--primary-blue);
        --button-border-color: var(--primary-blue);
    }
}

.button-default:active {
    color: var(--white);
    --button-background: var(--text-main);
    --button-border-color: var(--text-main);
}

.button-blue {
    color: var(--white);
    --button-background: var(--primary-blue);
    --button-border-color: var(--primary-blue);
}

.button-blue:active {
    color: var(--white);
    --button-background: var(--text-main);
    --button-border-color: var(--text-main);
}

/* Header */
.header {
    position: relative;
    z-index: 3;
    animation: showHeader 0.5s ease-out forwards;
}

@keyframes showHeader {
    0% {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.header-wrapper {
    gap: 40px;
    padding: 25px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media (max-width: 1600px) {
    .header-wrapper {
        gap: 30px;
    }
}

@media (max-width: 1366px) {
    .header-wrapper {
        gap: 28px;
        padding: 18px 0;
    }
}

@media (max-width: 1199px) {
    .header-wrapper {
        padding: 10px 0;
        gap: var(--size-m);
    }
}

.header-logo {
    width: 180px;
    flex-shrink: 0;
}

.header-logo img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 1600px) {
    .header-logo {
        width: 150px;
        margin-right: auto;
    }
}

@media (max-width: 1366px) {
    .header-logo {
        width: 120px;
    }
}

@media (max-width: 1199px) {
    .header-logo {
        width: 80px;
    }
}

@media (max-width: 767px) {
    .header-logo {
        width: 90px;
    }
}

.header-navigation {
    flex-grow: 1;
    flex-wrap: wrap;
    grid-row-gap: var(--size-2xs);
    grid-column-gap: var(--size-m);
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: var(--size-m);
}

@media (max-width: 767px) {
    .header-navigation {
        display: none;
    }
}

.navigation-item {
    font-size: 18px;
    text-wrap: nowrap;
    transition: color 0.3s ease-out;
}

@media (max-width: 1600px) {
    .navigation-item {
        font-size: var(--size-s);
    }
}

@media (max-width: 1366px) {
    .navigation-item {
        font-size: var(--size-xs) !important;
    }
}

@media (max-width: 1199px) {
    .navigation-item {
        font-size: var(--size-2xs) !important;
    }
}

@media (max-width: 767px) {
    .navigation-item {
        font-size: var(--size-m) !important;
    }
}

@media (hover: hover) {
    .navigation-item:hover {
        color: var(--primary-orange);
    }
}

.header-address {
    max-width: 300px;
    margin-left: auto;
    font-size: 18px;
    transition: color 0.3s ease-out;
}

@media (max-width: 1366px) {
    .header-address {
        max-width: 200px;
        font-size: var(--size-xs) !important;
    }
}

@media (max-width: 1199px) {
    .header-address {
        max-width: 140px;
        font-size: var(--size-2xs) !important;
    }
}

@media (max-width: 767px) {
    .header-address {
        display: none;
    }
}

@media (hover: hover) {
    .header-address:hover {
        color: var(--primary-orange);
    }
}

/* Footer */
.footer {
    padding-bottom: 60px;
    margin-top: auto;
}

@media (max-width: 1199px) {
    .footer {
        padding-bottom: 30px;
    }
}

.footer-wrapper {
    color: var(--white);
    background-color: var(--text-main);
    padding: 72px;
    border-radius: 20px;
}

@media (max-width: 1366px) {
    .footer-wrapper {
        padding: 54px;
    }
}

@media (max-width: 968px) {
    .footer-wrapper {
        padding: 30px;
        border-radius: 8px;
    }
}

@media (max-width: 767px) {
    .footer-wrapper {
        border-radius: 14px;
    }
}

.footer-top {
    gap: 100px;
    padding-bottom: 64px;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
}

@media (max-width: 1700px) {
    .footer-top {
        gap: 50px;
    }
}

@media (max-width: 968px) {
    .footer-top {
        gap: 30px;
        padding-bottom: 25px;
    }
}

@media (max-width: 767px) {
    .footer-top {
        flex-direction: column;
        gap: 20px;
        padding-bottom: 30px;
    }
}

.footer-logo {
    width: 180px;
    flex-shrink: 0;
}

.footer-logo img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 1366px) {
    .footer-logo {
        width: 120px;
    }
}

@media (max-width: 968px) {
    .footer-logo {
        width: 80px;
    }
}

@media (max-width: 767px) {
    .footer-logo {
        width: 120px;
    }
}

.footer-navigation {
    flex-grow: 1;
    grid-gap: 20px 50px;
    font-size: 18px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 16px) {
    .footer-navigation {
        grid-gap: 20px 30px;
    }
}

@media (max-width: 1366px) {
    .footer-navigation {
        font-size: 12px;
        grid-gap: 12px 20px;
    }
}

@media (max-width: 968px) {
    .footer-navigation {
        font-size: 8px;
        grid-gap: 8px 20px;
    }
}

@media (max-width: 767px) {
    .footer-navigation {
        grid-gap: 12px;
        font-size: 14px;
    }
}

.footer-navigation a {
    transition: color 0.3s ease-out;
}

@media (hover: hover) {
    .footer-navigation a:hover {
        color: var(--primary-orange);
    }
}

.footer-navigation a:active {
    color: var(--primary-blue);
}

.footer-contacts {
    gap: 20px;
    display: flex;
    flex-direction: column;
}

.footer-social-buttons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    flex-wrap: wrap;
}

@media (max-width: 767px) {
    .footer-social-buttons {
        gap: 12px;
    }
}

.footer-social-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    color: var(--white);
    font-family: 'Roboto', sans-serif;
    border: none;
    outline: none;
}

.footer-social-telegram {
    background: #0088cc;
}

.footer-social-telegram:hover {
    background: #0077bb;
}

.footer-social-max {
    background: #0077ff;
}

.footer-social-max:hover {
    background: #0066dd;
}

.footer-social-button svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid hsla(0, 0%, 100%, 0.1);
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: var(--size-m);
}

@media (max-width: 968px) {
    .footer-bottom {
        padding-top: 16px;
    }
}

@media (max-width: 767px) {
    .footer-bottom {
        padding-top: 28px;
        flex-direction: column;
    }
}

.footer-text {
    color: #747373;
    font-size: 18px;
    max-width: 250px;
}

@media (max-width: 1366px) {
    .footer-text {
        font-size: 12px;
    }
}

@media (max-width: 968px) {
    .footer-text {
        font-size: 8px;
    }
}

@media (max-width: 767px) {
    .footer-text {
        font-size: 12px;
        max-width: 100%;
    }
}

.footer-text.traff {
    color: var(--primary-orange);
}

/* Утилиты */
.flex {
    display: flex;
}

.flex-column {
    flex-direction: column;
}

.align-center {
    align-items: center;
}

.align-stretch {
    align-items: stretch;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-s {
    gap: var(--size-s);
}

.gap-m {
    gap: var(--size-m);
}

.gap-l {
    gap: var(--size-l);
}

.gap-xl {
    gap: var(--size-xl);
}

.uppercase {
    text-transform: uppercase;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

/* Анимации */
.animate-down,
.animate-left,
.animate-right {
    opacity: 0;
    filter: blur(10px);
    transition: opacity 0.4s ease, translate 0.5s ease-in, filter 0.3s ease-out;
}

.animate-down {
    translate: 0 50px;
}

.animate-left {
    translate: -50px 0;
}

.animate-right {
    translate: 50px 0;
}

@media (max-width: 767px) {
    .animate-right {
        translate: -50px 0;
    }
}

.animate-down.show,
.animate-left.show,
.animate-right.show {
    opacity: 1;
    translate: 0 0;
    filter: blur(0);
}

/* Grid */
.grid {
    display: grid;
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1199px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }
}

/* Формы */
.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--size-2xs);
}

.form-input {
    padding: 24px 30px;
    font-size: 20px;
    color: var(--text-main);
    border: 1px solid #B8B8B8;
    border-radius: 10px;
    background-color: var(--white);
}

@media (max-width: 1600px) {
    .form-input {
        padding: 16px 20px;
        font-size: 14px;
    }
}

@media (max-width: 1199px) {
    .form-input {
        padding: 8px 12px;
        font-size: 8px;
        border-radius: 4px;
    }
}

@media (max-width: 767px) {
    .form-input {
        padding: 12px 14px;
        font-size: 16px;
        border-radius: 6px;
    }
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.form-input::placeholder {
    color: #b8b8b8;
}

/* Мобильное меню */
.mobile-menu-button {
    display: none;
    width: 26px;
    height: 26px;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    position: relative;
    padding: 4px 0;
    z-index: 10;
    overflow: hidden;
}

@media (max-width: 767px) {
    .mobile-menu-button {
        display: flex;
        width: 20px;
        height: 20px;
        padding: 2px 0;
    }
}

.mobile-menu-button span {
    pointer-events: none;
    width: 100%;
    height: 2px;
    background-color: var(--primary-blue);
    transition: color 0.3s ease-in-out, translate 0.3s ease-in-out, rotate 0.3s ease-out, opacity 0.3s ease-in-out, width 0.2s ease-in-out 0.3s;
}

.mobile-menu-button.open span {
    background-color: var(--primary-orange);
}

.mobile-menu-button.open span:nth-child(2) {
    translate: -100% 0;
    opacity: 0;
}

.mobile-menu-button.open span:first-child,
.mobile-menu-button.open span:last-child {
    transition-delay: 0.2s;
}

.mobile-menu-button.open span:first-child {
    rotate: 45deg;
    translate: 0 8px;
}

@media (max-width: 767px) {
    .mobile-menu-button.open span:first-child {
        translate: 0 7px;
    }
}

.mobile-menu-button.open span:last-child {
    rotate: -45deg;
    translate: 0 -8px;
}

@media (max-width: 767px) {
    .mobile-menu-button.open span:last-child {
        translate: 0 -7px;
    }
}

.mobile-popover {
    margin-top: 56px;
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.15);
    border-radius: 20px;
    background-color: var(--white);
    padding: 40px 60px;
    display: none;
}

@media (max-width: 1199px) {
    .mobile-popover {
        padding: 33px 42px;
        border-radius: 12px;
        margin-top: 14px;
    }
}

.mobile-popover.open {
    display: block;
}

.mobile-popover .navigation {
    gap: 30px;
    display: flex;
    flex-direction: column;
}

@media (max-width: 1199px) {
    .mobile-popover .navigation {
        gap: 22px;
    }
}

/* Форма обратной связи */
.feedback-section {
    /* Использует стандартный padding из .section */
}

.feedback-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-color: var(--background-light);
    border-radius: 20px;
    overflow: hidden;
    min-height: 500px;
}

@media (max-width: 968px) {
    .feedback-container {
        grid-template-columns: 1fr;
        min-height: auto;
    }
}

.feedback-left {
    background: var(--primary-orange);
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

@media (max-width: 1366px) {
    .feedback-left {
        padding: 50px 40px;
    }
}

@media (max-width: 1199px) {
    .feedback-left {
        padding: 40px 30px;
    }
}

@media (max-width: 968px) {
    .feedback-left {
        padding: 40px 30px;
    }
}

.feedback-right {
    background: var(--background-light);
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    position: relative;
}

@media (max-width: 1366px) {
    .feedback-right {
        padding: 50px 40px;
        gap: 35px;
    }
}

@media (max-width: 1199px) {
    .feedback-right {
        padding: 40px 30px;
        gap: 30px;
    }
}

@media (max-width: 968px) {
    .feedback-right {
        padding: 40px 30px;
        gap: 25px;
    }
}

.feedback-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    margin-bottom: 40px;
    text-align: center;
    font-family: 'PT Sans Narrow', sans-serif;
    line-height: 1.2;
}

@media (max-width: 1366px) {
    .feedback-title {
        font-size: 28px;
        margin-bottom: 35px;
    }
}

@media (max-width: 1199px) {
    .feedback-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
}

@media (max-width: 767px) {
    .feedback-title {
        font-size: 20px;
        margin-bottom: 25px;
    }
}

.feedback-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media (max-width: 1199px) {
    .feedback-form {
        gap: 18px;
    }
}

.feedback-input {
    width: 100%;
    padding: 18px 24px;
    font-size: 18px;
    color: var(--text-main);
    background: var(--background-light);
    border: 2px solid var(--white);
    border-radius: 10px;
    outline: none;
    transition: all 0.3s ease;
    font-family: 'Roboto', sans-serif;
}

.feedback-input::placeholder {
    color: rgba(0, 0, 0, 0.6);
}

.feedback-input:focus {
    background: var(--white);
    border-color: var(--white);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

@media (max-width: 1199px) {
    .feedback-input {
        padding: 16px 20px;
        font-size: 16px;
        border-radius: 8px;
    }
}

@media (max-width: 767px) {
    .feedback-input {
        padding: 14px 18px;
        font-size: 15px;
    }
}

.feedback-button {
    width: 100%;
    padding: 20px;
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    background: var(--primary-blue);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-family: 'PT Sans Narrow', sans-serif;
}

.feedback-button:hover {
    background: #015a9e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(1, 102, 179, 0.3);
}

.feedback-button:active {
    transform: translateY(0);
}

@media (max-width: 1199px) {
    .feedback-button {
        padding: 18px;
        font-size: 16px;
        border-radius: 8px;
    }
}

@media (max-width: 767px) {
    .feedback-button {
        padding: 16px;
        font-size: 15px;
    }
}

.feedback-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    color: var(--white);
    line-height: 1.5;
}

@media (max-width: 1199px) {
    .feedback-checkbox-label {
        font-size: 13px;
        gap: 10px;
    }
}

@media (max-width: 767px) {
    .feedback-checkbox-label {
        font-size: 12px;
        gap: 8px;
    }
}

.feedback-checkbox {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: var(--primary-blue);
}

@media (max-width: 1199px) {
    .feedback-checkbox {
        width: 18px;
        height: 18px;
    }
}

.feedback-checkbox-text {
    flex: 1;
}

.feedback-link {
    color: var(--white);
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.feedback-link:hover {
    opacity: 0.8;
}

.feedback-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

@media (max-width: 1199px) {
    .feedback-contact-item {
        gap: 15px;
    }
}

.feedback-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-blue);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

@media (max-width: 1199px) {
    .feedback-icon {
        width: 40px;
        height: 40px;
    }
}

.feedback-icon svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 1199px) {
    .feedback-icon svg {
        width: 20px;
        height: 20px;
    }
}

.feedback-contact-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feedback-contact-label {
    font-size: 16px;
    color: var(--text-main);
    font-weight: 500;
}

@media (max-width: 1199px) {
    .feedback-contact-label {
        font-size: 14px;
    }
}

.feedback-contact-value {
    font-size: 20px;
    color: var(--text-main);
    font-weight: 700;
}

@media (max-width: 1199px) {
    .feedback-contact-value {
        font-size: 18px;
    }
}

@media (max-width: 767px) {
    .feedback-contact-value {
        font-size: 16px;
    }
}

.feedback-social-buttons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
    flex-wrap: wrap;
}

@media (max-width: 767px) {
    .feedback-social-buttons {
        gap: 12px;
    }
}

.feedback-social-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    color: var(--white);
    font-family: 'Roboto', sans-serif;
    border: none;
    outline: none;
}

.feedback-telegram {
    background: #0088cc;
}

.feedback-telegram:hover {
    background: #0077bb;
}

.feedback-max {
    background: #0077ff;
}

.feedback-max:hover {
    background: #0066dd;
}

.feedback-social-button svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Flash сообщения */
.flash-messages-container {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 1000;
    max-width: 400px;
    animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.flash-message {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: fadeIn 0.3s ease-out;
}

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

.flash-success {
    background: #d4edda;
    color: #155724;
    border: 2px solid #c3e6cb;
}

.flash-error {
    background: #f8d7da;
    color: #721c24;
    border: 2px solid #f5c6cb;
}

.flash-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 2px solid #bee5eb;
}

@media (max-width: 767px) {
    .flash-messages-container {
        top: 80px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    .flash-message {
        font-size: 14px;
        padding: 12px 16px;
    }
}

