﻿/* Custom styles for tribute page */

.buttons-container {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 100;
    width: 100%;
    max-width: 500px;
    padding: 0 20px;
}

.buttonprimary {
    background: linear-gradient(135deg, #1e4d8c 0%, #2a5f9e 100%);
    color: #fff;
    border: none;
    padding: 14px 35px;
    border-radius: 30px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    line-height: 1.5;
    width: auto;
    min-width: 320px;
    text-align: center;
}

.buttonsecondary {
    background: linear-gradient(135deg, #1e4d8c 0%, #2a5f9e 100%);
    color: #fff;
    border: none;
    padding: 14px 35px;
    border-radius: 30px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    line-height: 1.5;
    width: 100%;
    max-width: 450px;
    text-align: center;
}

.buttonprimary:hover,
.buttonsecondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
    background: linear-gradient(135deg, #2a5f9e 0%, #3a6fae 100%);
}

.buttonprimary strong,
.buttonsecondary strong {
    font-weight: 600;
}

.visitor-count {
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    color: #4a3728;
    font-size: 0.9rem;
    z-index: 100;
}

.view-messages-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #1e4d8c 0%, #2a5f9e 100%);
    color: #fff;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.85rem;
}

.view-messages-btn:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #2a5f9e 0%, #3a6fae 100%);
}

.message-item {
    background: #f8fafc;
    padding: 18px;
    border-radius: 8px;
    margin-bottom: 15px;
    border-left: 4px solid #c9a227;
}

.message-item .message-text {
    font-style: italic;
    margin-bottom: 12px;
    line-height: 1.6;
    color: #333;
}

.message-item .author-name {
    font-weight: 600;
    color: #1e4d8c;
}

.message-item .author-details {
    font-size: 0.85rem;
    color: #718096;
}

.message-item .message-date {
    font-size: 0.8rem;
    color: #a0aec0;
}

.no-messages {
    text-align: center;
    padding: 40px;
    color: #718096;
}

.modal-content {
    border-radius: 10px;
}

.modal-header {
    border-bottom: 1px solid #e2e8f0;
}

.form-control:focus {
    border-color: #1e4d8c;
    box-shadow: 0 0 0 3px rgba(30, 77, 140, 0.1);
}

@media (max-width: 768px) {
    .buttonprimary,
    .buttonsecondary {
        min-width: 280px;
        padding: 12px 25px;
        font-size: 0.85rem;
    }
    .buttons-container {
        bottom: 70px;
    }
}

@media (max-width: 480px) {
    .buttonprimary,
    .buttonsecondary {
        min-width: 250px;
        padding: 10px 20px;
        font-size: 0.8rem;
    }
    .buttons-container {
        bottom: 60px;
        gap: 10px;
    }
}
