

.kalendar-section {
    padding: 2.5rem;
    background: var(--card-bg);
    border-radius: 20px;
    margin: 2rem 0;
    border: 2px solid rgba(46, 139, 87, 0.1);
    box-shadow: var(--shadow);
}

[data-theme="dark"] .kalendar-section {
    border: 2px solid rgba(76, 175, 80, 0.2);
}

.kalendar-container {
    max-width: 1200px;
    margin: 0 auto;
}

.kalendar-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid rgba(46, 139, 87, 0.2);
}

.current-month-year {
    font-size: 2.2rem;
    color: var(--primary-green);
    font-weight: 800;
    text-align: center;
    flex: 1;
}

.nav-btn {
    background: linear-gradient(to right, var(--primary-green), var(--light-green));
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(46, 139, 87, 0.3);
}

.nav-btn:hover {
    background: linear-gradient(to right, var(--light-green), var(--primary-green));
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(46, 139, 87, 0.4);
}

.nav-btn:active {
    transform: translateY(-1px);
}

.nav-btn.prev {
    order: 1;
}

.nav-btn.next {
    order: 3;
}

.today-btn {
    background: linear-gradient(to right, var(--gold), #FFED4E);
    color: var(--dark-green);
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 15px;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.today-btn:hover {
    background: linear-gradient(to right, #FFED4E, var(--gold));
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
}

.add-event-btn {
    background: linear-gradient(to right, #28a745, #20c997);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 10px;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.add-event-btn:hover {
    background: linear-gradient(to right, #20c997, #28a745);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(40, 167, 69, 0.4);
}

.dni-v-tyzdni {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    margin-bottom: 1rem;
    padding: 0 5px;
}

.den-header {
    text-align: center;
    padding: 15px 10px;
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    color: white;
    font-weight: 800;
    border-radius: 10px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 8px rgba(46, 139, 87, 0.3);
}

.den-header.weekend {
    background: linear-gradient(135deg, var(--interview-blue), #2c5282);
}

.kalendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
}

.kalendar-day {
    background: var(--card-bg);
    border: 2px solid rgba(46, 139, 87, 0.1);
    border-radius: 12px;
    min-height: 140px;
    padding: 15px;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
}

[data-theme="dark"] .kalendar-day {
    border: 2px solid rgba(76, 175, 80, 0.2);
}

.kalendar-day:hover {
    transform: translateY(-5px);
    border-color: var(--primary-green);
    box-shadow: 0 10px 25px rgba(46, 139, 87, 0.15);
}

.kalendar-day.empty {
    background: rgba(46, 139, 87, 0.05);
    border: 2px dashed rgba(46, 139, 87, 0.2);
    cursor: default;
}

[data-theme="dark"] .kalendar-day.empty {
    background: rgba(76, 175, 80, 0.05);
    border: 2px dashed rgba(76, 175, 80, 0.3);
}

.kalendar-day.empty:hover {
    transform: none;
    border-color: rgba(46, 139, 87, 0.2);
    box-shadow: none;
}

.kalendar-day.today {
    background: linear-gradient(135deg, rgba(46, 139, 87, 0.1), rgba(76, 175, 80, 0.05));
    border: 3px solid var(--primary-green);
    box-shadow: 0 5px 15px rgba(46, 139, 87, 0.2);
}

.kalendar-day.weekend {
    background: rgba(44, 82, 130, 0.05);
    border-color: rgba(44, 82, 130, 0.2);
}

[data-theme="dark"] .kalendar-day.weekend {
    background: rgba(44, 82, 130, 0.1);
    border-color: rgba(44, 82, 130, 0.3);
}

.day-number {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary-green);
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 3px 8px rgba(46, 139, 87, 0.3);
}

.kalendar-day.today .day-number {
    background: linear-gradient(135deg, var(--gold), #FFED4E);
    color: var(--dark-green);
    box-shadow: 0 3px 8px rgba(255, 215, 0, 0.4);
}

.kalendar-day.weekend .day-number {
    background: var(--interview-blue);
}

.day-events {
    margin-top: 40px;
    max-height: 85px;
    overflow-y: auto;
    padding-right: 5px;
}

.day-events::-webkit-scrollbar {
    width: 4px;
}

.day-events::-webkit-scrollbar-thumb {
    background: var(--primary-green);
    border-radius: 2px;
}

.event-item {
    background: linear-gradient(to right, var(--lighter-green), rgba(46, 139, 87, 0.1));
    border-left: 3px solid var(--primary-green);
    padding: 8px 10px;
    margin-bottom: 8px;
    border-radius: 6px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

[data-theme="dark"] .event-item {
    background: rgba(76, 175, 80, 0.15);
}

.event-item:hover {
    background: linear-gradient(to right, rgba(46, 139, 87, 0.2), rgba(76, 175, 80, 0.15));
    transform: translateX(3px);
    padding-left: 12px;
}

.event-item.match,
.event-item.zapas {
    border-left-color: #e74c3c;
    background: linear-gradient(to right, rgba(231, 76, 60, 0.1), rgba(231, 76, 60, 0.05));
}

.event-item.training,
.event-item.trening {
    border-left-color: #3498db;
    background: linear-gradient(to right, rgba(52, 152, 219, 0.1), rgba(52, 152, 219, 0.05));
}

.event-item.meeting,
.event-item.schodza {
    border-left-color: #f39c12;
    background: linear-gradient(to right, rgba(243, 156, 18, 0.1), rgba(243, 156, 18, 0.05));
}

.event-item.other,
.event-item.ine {
    border-left-color: #95a5a6;
    background: linear-gradient(to right, rgba(149, 165, 166, 0.1), rgba(149, 165, 166, 0.05));
}

.event-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.event-time {
    font-weight: 700;
    color: var(--primary-green);
    font-size: 0.8rem;
    margin-right: 5px;
}

.event-team-badge {
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 10px;
    color: white;
    font-weight: bold;
    background: var(--primary-green);
}

.event-item.match .event-time,
.event-item.zapas .event-time {
    color: #e74c3c;
}

.event-item.training .event-time,
.event-item.trening .event-time {
    color: #3498db;
}

.event-item.meeting .event-time,
.event-item.schodza .event-time {
    color: #f39c12;
}

.event-item.other .event-time,
.event-item.ine .event-time {
    color: #95a5a6;
}

.kalendar-day.has-trening {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.05), rgba(52, 152, 219, 0.02));
    border-color: rgba(52, 152, 219, 0.3);
}

.kalendar-day.has-zapas {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.05), rgba(231, 76, 60, 0.02));
    border-color: rgba(231, 76, 60, 0.3);
}

.kalendar-day.has-schodza {
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.05), rgba(243, 156, 18, 0.02));
    border-color: rgba(243, 156, 18, 0.3);
}

.kalendar-day.has-ine {
    background: linear-gradient(135deg, rgba(149, 165, 166, 0.05), rgba(149, 165, 166, 0.02));
    border-color: rgba(149, 165, 166, 0.3);
}

.kalendar-legenda {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 15px;
    border: 2px solid rgba(46, 139, 87, 0.1);
}

[data-theme="dark"] .kalendar-legenda {
    border: 2px solid rgba(76, 175, 80, 0.2);
}

.kalendar-legenda h3 {
    color: var(--primary-green);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    text-align: center;
    font-weight: 800;
}

.kalendar-legenda h4 {
    color: var(--primary-green);
    margin: 1.5rem 0 1rem 0;
    font-size: 1.2rem;
    font-weight: 700;
}

.legenda-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.legenda-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: var(--lighter-green);
    border-radius: 8px;
    border-left: 4px solid;
}

[data-theme="dark"] .legenda-item {
    background: rgba(76, 175, 80, 0.1);
}

.legenda-color {
    width: 20px;
    height: 20px;
    border-radius: 4px;
}

.legenda-match .legenda-color,
.legenda-zapas .legenda-color {
    background: #e74c3c;
}

.legenda-training .legenda-color,
.legenda-trening .legenda-color {
    background: #3498db;
}

.legenda-meeting .legenda-color,
.legenda-schodza .legenda-color {
    background: #f39c12;
}

.legenda-other .legenda-color,
.legenda-ine .legenda-color {
    background: #95a5a6;
}

.legenda-a-team .legenda-color {
    background: #2ecc71;
}

.legenda-seniors .legenda-color {
    background: #9b59b6;
}

.legenda-u11 .legenda-color {
    background: #1abc9c;
}

.legenda-u13 .legenda-color {
    background: #e67e22;
}



.custom-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9998;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
}

.custom-modal {
    position: relative;
    background: white;
    padding: 0;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    min-width: 400px;
    max-width: 90%;
    max-height: 90vh;
    overflow: hidden;
    border: 3px solid var(--primary-green);
    animation: modalSlideIn 0.3s ease;
}

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

.modal-header {
    background: linear-gradient(to right, var(--primary-green), var(--light-green));
    color: white;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h4 {
    margin: 0;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.close-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.modal-body {
    padding: 1.5rem;
    max-height: 60vh;
    overflow-y: auto;
}

.modal-footer {
    padding: 1rem 1.5rem;
    border-top: 2px solid rgba(46, 139, 87, 0.1);
    display: flex;
    justify-content: flex-end;
    background: #f8f9fa;
    gap: 10px;
}

.btn-success,
.btn-primary,
.btn-secondary,
.btn-close {
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    font-size: 1rem;
}

.btn-success {
    background: linear-gradient(to right, #28a745, #20c997);
    color: white;
}

.btn-success:hover {
    background: linear-gradient(to right, #20c997, #28a745);
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(to right, var(--primary-green), var(--light-green));
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(to right, var(--light-green), var(--primary-green));
    transform: translateY(-2px);
}

.btn-secondary {
    background: linear-gradient(to right, #6c757d, #495057);
    color: white;
}

.btn-secondary:hover {
    background: linear-gradient(to right, #495057, #6c757d);
    transform: translateY(-2px);
}

.btn-close {
    background: linear-gradient(to right, #6c757d, #495057);
    color: white;
}

.btn-close:hover {
    background: linear-gradient(to right, #495057, #6c757d);
}

.events-list-day {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.event-day-card {
    background: white;
    border-radius: 12px;
    border-left: 5px solid;
    padding: 1.5rem;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
}

.event-day-card:hover {
    transform: translateY(-3px);
}

.event-day-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1rem;
}

.event-day-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.event-day-info h5 {
    margin: 0 0 8px 0;
    color: #2c3e50;
    font-size: 1.1rem;
}

.event-day-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.team-badge {
    padding: 4px 12px;
    border-radius: 15px;
    color: white;
    font-size: 0.85rem;
    font-weight: bold;
}

.event-time {
    color: #6c757d;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.event-day-details {
    margin: 1rem 0;
}

.event-day-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 1rem;
}

.event-day-grid > div {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 8px;
}

.event-day-grid small {
    color: #6c757d;
    display: block;
    margin-bottom: 5px;
    font-size: 0.85rem;
}

.event-day-grid span {
    font-weight: bold;
    color: #2c3e50;
}

.event-day-description {
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.event-day-description small {
    color: #6c757d;
    display: block;
    margin-bottom: 8px;
}

.event-day-description p {
    margin: 0;
    color: #495057;
    line-height: 1.5;
}

.event-day-actions {
    display: flex;
    gap: 10px;
    margin-top: 1rem;
}

.btn-detail {
    background: transparent;
    border: 2px solid;
    color: inherit;
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s;
}

.btn-detail:hover {
    background: inherit;
    color: white;
    transform: translateY(-2px);
}

.event-detail-modal {
    border-width: 3px;
}

.event-detail-title {
    display: flex;
    align-items: center;
    gap: 15px;
}

.event-icon-large {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.event-title-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 8px;
}

.event-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 2rem;
}

.detail-box {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.detail-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.detail-value {
    font-size: 1.2rem;
    font-weight: bold;
    color: #2c3e50;
}

.event-description-section {
    margin-top: 2rem;
}

.event-description-section h5 {
    color: #2c3e50;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.description-box {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-green);
}

.description-box p {
    margin: 0;
    line-height: 1.6;
    color: #495057;
}

.user-event-notice {
    background: rgba(52, 152, 219, 0.1);
    border: 1px solid #3498db;
    color: #3498db;
    padding: 10px 15px;
    border-radius: 8px;
    margin-top: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: bold;
}

.user-actions {
    display: flex;
    gap: 10px;
    margin-right: auto;
}

.btn-edit {
    background: transparent;
    border: 2px solid;
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s;
}

.btn-edit:hover {
    background: inherit;
    color: white;
    transform: translateY(-2px);
}

.btn-delete {
    background: transparent;
    border: 2px solid #e74c3c;
    color: #e74c3c;
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s;
}

.btn-delete:hover {
    background: #e74c3c;
    color: white;
    transform: translateY(-2px);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #2c3e50;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(46, 139, 87, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-alert {
    padding: 12px 15px;
    border-radius: 8px;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-alert.success {
    background: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.3);
    color: #155724;
}

.form-alert.info {
    background: rgba(52, 152, 219, 0.1);
    border: 1px solid rgba(52, 152, 219, 0.3);
    color: #0c5460;
}

.form-message {
    margin-top: 1rem;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s, padding 0.3s;
}

.form-message.show {
    padding: 12px 15px;
    max-height: 200px;
}

.success-message {
    background: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.3);
    color: #155724;
    padding: 12px 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.error-message {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #721c24;
    padding: 12px 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.flash-message {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    padding: 15px 20px;
    border-radius: 10px;
    color: white;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transform: translateX(100%);
    opacity: 0;
    transition: transform 0.3s, opacity 0.3s;
}

.flash-message.show {
    transform: translateX(0);
    opacity: 1;
}

.flash-message.success {
    background: linear-gradient(to right, #28a745, #20c997);
}

.flash-message.error {
    background: linear-gradient(to right, #e74c3c, #c0392b);
}

.no-events-day {
    text-align: center;
    padding: 3rem 1rem;
}

.no-events-icon {
    width: 100px;
    height: 100px;
    background: #f8f9fa;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.no-events-icon i {
    font-size: 3rem;
    color: #adb5bd;
}

.no-events-day p {
    color: #6c757d;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.add-event-day-btn {
    text-align: center;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .kalendar-day {
        min-height: 120px;
        padding: 12px;
    }
    
    .day-number {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
    
    .event-item {
        font-size: 0.8rem;
        padding: 6px 8px;
    }
    
    .custom-modal {
        min-width: 95%;
        max-width: 95%;
        margin: 10px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .event-detail-grid {
        grid-template-columns: 1fr;
    }
    
    .event-day-grid {
        grid-template-columns: 1fr;
    }
    
    .user-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .user-actions button {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .kalendar-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 10px;
    }
    
    .kalendar-day {
        min-height: 80px;
    }
    
    .day-number {
        top: 5px;
        right: 5px;
        width: 25px;
        height: 25px;
        font-size: 0.9rem;
    }
    
    .day-events {
        margin-top: 25px;
        max-height: 50px;
    }
    
    .event-item {
        font-size: 0.75rem;
        padding: 4px 6px;
    }
    
    .kalendar-legenda {
        padding: 1.5rem;
    }
    
    .legenda-items {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .modal-header h4 {
        font-size: 1.2rem;
    }
    
    .modal-footer {
        flex-direction: column;
    }
    
    .modal-footer button {
        width: 100%;
        justify-content: center;
    }
}

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

.kalendar-day {
    animation: fadeInDay 0.3s ease forwards;
}


.modal-footer-large {
    padding: 1.5rem;
    border-top: 2px solid rgba(46, 139, 87, 0.1);
    display: flex;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    margin-top: 1rem;
}

.btn-close-large {
    background: linear-gradient(to right, #6c757d, #495057);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s;
    min-width: 180px;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-close-large:hover {
    background: linear-gradient(to right, #495057, #343a40);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-close-large:active {
    transform: translateY(-1px);
}

.btn-close-large i {
    font-size: 1.2rem;
}

.modal-footer {
    padding: 1.5rem;
    border-top: 2px solid rgba(46, 139, 87, 0.1);
    display: flex;
    justify-content: flex-end;
    background: #f8f9fa;
    gap: 15px;
    flex-wrap: wrap;
}

.user-actions {
    display: flex;
    gap: 15px;
    margin-right: auto;
    flex-wrap: wrap;
}

.user-actions .btn-edit,
.user-actions .btn-delete {
    min-width: 160px;
    padding: 12px 25px;
    font-size: 1rem;
    justify-content: center;
}

.modal-footer .btn-success,
.modal-footer .btn-primary,
.modal-footer .btn-secondary {
    min-width: 140px;
    padding: 12px 30px;
    justify-content: center;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .modal-footer-large {
        padding: 1.2rem;
    }
    
    .btn-close-large {
        padding: 12px 30px;
        min-width: 160px;
        font-size: 1rem;
    }
    
    .modal-footer {
        flex-direction: column;
        gap: 10px;
    }
    
    .modal-footer button,
    .user-actions button {
        width: 100%;
        justify-content: center;
    }
    
    .user-actions {
        margin-right: 0;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .btn-close-large {
        padding: 10px 25px;
        min-width: 140px;
        font-size: 0.95rem;
    }
    
    .modal-footer .btn-success,
    .modal-footer .btn-primary,
    .modal-footer .btn-secondary {
        padding: 10px 20px;
    }
}

