/* Import Montserrat Font */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

/* Gratitude Page Styles */

.gratitude-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.gratitude-content-wrapper {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.gratitude-main-content {
    flex: 0 0 60%;
    min-width: 0;
}

.gratitude-sidebar {
    flex: 0 0 calc(40% - 20px);
    max-width: none;
    position: sticky;
    top: 20px;
}

.gratitude-form-container {
    background: transparent;
    border: 1px solid #eee;
    padding: 20px;
}

.gratitude-form-container h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 30px;
    color: #333;
    text-align: left;
}

.donation-frequency {
    margin-bottom: 20px;
    display: flex;
    gap: 20px;
}

.donation-frequency label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 400;
    position: relative;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    line-height: 20px;
    color: #333333;
}

.donation-frequency input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 20px;
    height: 20px;
    border: 1px solid #E3E4E8;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    position: relative;
    margin: 0;
    outline: none;
}

.donation-frequency input[type="radio"]:checked {
    background: #0B6BBF;
}

.donation-frequency input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: white;
}

.donation-amounts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 0;
    margin-bottom: 20px;
    border: 1px solid #E3E4E8;
    overflow: hidden;
}

.donation-amounts label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 0px;
    border: none;
    border-right: 1px solid #E3E4E8;
    border-bottom: 1px solid #E3E4E8;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    font-size: 14px;
    position: relative;
    color: #333333;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    font-size: 17px;
    line-height: 20px;
}

.donation-amounts label.message_only {
    font-size: 16px;
    flex-direction: column;
}

.donation-amounts label span {
    font-weight: 400;
    font-size: 12px;
    line-height: 12px;
    color: #989898;
    text-align: center;
}

/* Remove right border from last column */
.donation-amounts label:nth-child(4n) {
    border-right: none;
}

/* Remove bottom border from bottom row */
.donation-amounts label:nth-child(n+5) {
    border-bottom: none;
}

.donation-amounts label:hover {
    background: #f5f5f5;
}

.donation-amounts input[type="radio"] {
    display: none;
}

.donation-amounts label.active,
.donation-amounts input[type="radio"]:checked + label,
.donation-amounts label:has(input[type="radio"]:checked) {
    background: #333333;
    color: white;
    font-weight: 600;
}

/* Blank cell styling */
.blank-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 8px;
    border: none;
    border-right: 1px solid #E3E4E8;
    background: white;
    font-size: 14px;
}

/* Remove right border from blank cell (last column) */
.blank-cell {
    border-right: none;
}

.custom-amount-container {
    margin-bottom: 20px;
}

.custom-amount-field {
    display: flex;
    background: white;
    border: 1px solid #E3E4E8;
    overflow: hidden;
}

/* Currency display styling */
.currency-display {
    border: none;
    border-right: 1px solid #E3E4E8;
    background: transparent;
    padding: 12px 15px;
    font-weight: 600;
    font-size: 17px;
    line-height: 20px;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
}

.custom-amount {
    border: none !important;   
    padding: 20px;
    flex: 1;
    font-size: 16px;
    background: white !important;
    outline: none;
}

.form-group {
    margin-bottom: 20px;
}

.form-group:last-of-type {
    margin-bottom: 20px;
}

.form-group label {
    display: flex;
    margin-bottom: 10px;
    font-weight: 500;
    font-size: 15px;
    line-height: 20px;
    color: #333333;
}

.form-group input[type="text"],
.form-group input[type="email"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #E3E4E8;
    font-size: 16px;
    background: white;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus {
    border-color: #007cba;
}

/* Placeholder styles */
.form-group input[type="text"]::placeholder {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 15px;
    line-height: 20px;
    color: #989898;
}

.form-group small {
    display: block;
    color: #989898;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    margin: 10px 20px 0;
}

.progress-container {
    margin: 20px 0;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: #E3E4E8;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: #5CBC87;
    transition: width 0.3s ease;
}

.progress-text {
    text-align: left;
    font-weight: 500;
    color: #5CBC87;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    line-height: 20px;
}

.form-group.payment-only label {
    font-weight: 400;
    font-size: 15px;
    line-height: 20px;  
    color: #333333;
    font-family: 'Montserrat', sans-serif;
    display: flex;
    align-items: end;
}

.form-group input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 20px;
    height: 20px;
    border: 1px solid #E3E4E8;
    background: white;
    margin-right: 8px;
    cursor: pointer;
    position: relative;
    outline: none;
    vertical-align: middle;
}

.form-group input[type="checkbox"]:checked {
    background: #0B6BBF;
    border-color: #0B6BBF;
}

.form-group input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 10px;
    font-weight: bold;
}

.payment-section {
    background: transparent;
    margin-bottom: 20px;
}

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

.payment-header p {
    margin: 0;
    font-weight: 500;
    font-size: 15px;
    line-height: 20px;
    color: #333333;
}

.secure-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #2CC370;
    font-weight: 500;
    font-size: 15px;
    line-height: 20px;
}

/* Payment Buttons */
.payment-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.payment-btn {
    flex: 1;
    padding: 16px 0;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    font-size: 15px;
    line-height: 20px;
    text-transform: uppercase;
    color: white;
    font-family: 'Montserrat', sans-serif;
}

.paypal-btn {
    background: #FFBB4D;
}

.paypal-btn:hover {
    background: #f5b041;
}

.paypal-btn.active {
    background: #E6A63D;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

.paypal-logo {
    height: 20px;
    width: auto;
}

.card-btn {
    background: #0B6BBF;
    color: white;
}

.card-btn:hover {
    background: #095a9d;
}

.card-btn.active {
    background: #095A9D;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

.payment-btn:disabled,
.payment-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.submit-btn:disabled,
.submit-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Payment Methods Icons Container */
.payment-methods-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    margin-bottom: 0;
}

.payment-method-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.payment-icon {
    width: 32px;
    height: 32px;
    display: block;
}

/* Updated Submit Button */
.submit-btn {
    width: 100%;
    padding: 15px;
    background: #5CBC87;
    color: white;
    border: none;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover:not(:disabled) {
    background: #4da773;
    transform: translateY(-2px);
}

.submit-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
}

/* Backward compatibility */
.submit-payment-btn {
    width: 100%;
    padding: 15px;
    background: #28a745;
    color: white;
    border: none;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-payment-btn:hover:not(:disabled) {
    background: #218838;
    transform: translateY(-2px);
}

.submit-payment-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
}

/* Gratitude Messages in Sidebar */
.gratitude-messages-container {
    margin-top: 20px;
    background: transparent;
    border: 1px solid #eee;
    padding: 20px;
}

.gratitude-messages-container h4 {
    margin-top: 0;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 30px;
    color: #333;
    text-align: left;
}

.gratitude-messages-container .gratitude-wall {
    max-width: none;
    margin: 0;
}

/* Updated donation amounts for active state */
.donation-amounts label.active {
    border-color: #007cba;
    background: #e7f3ff;
    font-weight: 600;
}

.gratitude-item {
    display: flex;
    gap: 20px;
    padding: 0 20px;
    border-bottom: 1px solid #e9ecef;
}

/* Compact gratitude items in sidebar */
.gratitude-messages-container .gratitude-item {
    gap: 10px;
    padding: 20px 0;
    background: white;
    border-bottom: 1px solid #e9ecef;
}

.gratitude-messages-container .gratitude-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.gratitude-avatar img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid #e9ecef;
}

/* Smaller avatars in sidebar */
.gratitude-messages-container .gratitude-avatar img {
    width: 56px;
    height: 56px;
    border: 1px solid #e9ecef;
}

.gratitude-content {
    flex: 1;
    min-width: 0;
}

.gratitude-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.gratitude-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 15px;
    line-height: 20px;
    color: #333333;
}

.gratitude-amount-section {
    margin-bottom: 8px;
}

.gratitude-amount {
    font-family: 'Montserrat', sans-serif;
    color: #333333;
    font-size: 18px;
    font-weight: 700;
    line-height: 20px;
}

.gratitude-date {
    font-family: 'Montserrat', sans-serif;
    color: #555555;
    font-size: 15px;
    line-height: 20px;
    margin-left: auto;
    white-space: nowrap;
}

.gratitude-message {
    font-family: 'Montserrat', sans-serif;
    color: #555555;
    font-weight: 400;
    font-size: 13px;
    line-height: 20px;
    word-wrap: break-word;
}

.load-more-btn {
    display: block;
    margin-top: 20px;
    padding: 20px 30px;
    width: 100%;
    color: #333333;
    border: none;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 17px;
    line-height: 20px;
    transition: background 0.3s ease;
    border: 1px solid #C0C0C0;
    background: transparent;
}

.load-more-btn:disabled {
    color: #555555;
    cursor: not-allowed;
}

.no-gratitudes {
    text-align: center;
    color: #6c757d;
    font-style: italic;
    padding: 40px;
}

/* Responsive Design */

@media (max-width: 768px) {
    .gratitude-content-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .gratitude-sidebar {
        position: static;
        max-width: none;
    }

    .gratitude-form-container {
        padding: 20px;
    }

    .donation-amounts {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 1fr);
    }

    .donation-amounts label:nth-child(2n) {
        border-right: none;
    }

    .donation-amounts label:nth-child(4n) {
        border-right: 1px solid #E3E4E8;
    }

    .donation-amounts label:nth-child(n+7) {
        border-bottom: none;
    }

    .donation-frequency {
        flex-direction: column;
        gap: 10px;
    }

    .gratitude-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .gratitude-date {
        margin-left: 0;
    }

    /* Read more functionality */
    .read-more-hidden {
        display: none !important;
    }

    .read-more-btn {
        display: inline-block;
        margin: 8px 0;
        padding: 0;
        background: none;
        color: #0B6BBF;
        border: none;
        cursor: pointer;
        font-family: inherit;
        font-weight: 400;
        font-size: 13px;
        text-decoration: underline;
        transition: color 0.2s ease;
    }

    .read-more-btn:hover {
        color: #333;
    }
}

@media (max-width: 480px) {
    .gratitude-page-container {
        padding: 15px;
    }

    .gratitude-item {
        gap: 10px;
        padding: 15px;
    }

    .gratitude-avatar img {
        width: 40px;
        height: 40px;
    }
}

/* Modal Styles */
.gratitude-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gratitude-modal {
    background: white;
    padding: 30px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

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

.gratitude-modal .modal-icon {
    font-size: 48px;
    margin-bottom: 15px;
    font-weight: bold;
}

.gratitude-modal.success .modal-icon {
    color: #28a745;
}

.gratitude-modal.error .modal-icon {
    color: #dc3545;
}

.gratitude-modal h3 {
    margin: 0 0 15px 0;
    color: #2c3e50;
    font-size: 24px;
}

.gratitude-modal p {
    margin: 0 0 25px 0;
    color: #6c757d;
    line-height: 1.5;
}

.modal-btn {
    padding: 12px 30px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 100px;
}

.success-btn:hover {
    background: #218838;
    transform: translateY(-1px);
}

.error-btn {
    background: #dc3545;
    color: white;
}

/* User Mention/Tagging Styles */
.message-group {
    position: relative;
}

.message-input-container {
    position: relative;
}

.message-display {
    width: 100%;
    min-height: 45px;
    padding: 12px 15px;
    border: 1px solid #E3E4E8;
    font-size: 16px;
    background: white;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.message-display:focus {
    border-color: #007cba;
}

.message-display[contenteditable]:empty::before {
    content: attr(placeholder);
    color: #989898;
    font-weight: 500;
    font-size: 15px;
    line-height: 20px;
    pointer-events: none;
}

.user-mention {
    background-color: #0B6BBF;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 500;
    display: inline-block;
    margin: 0 2px;
    cursor: default;
}

.user-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #E3E4E8;
    border-top: none;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.user-suggestions.show {
    display: block;
}

.suggestion-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-family: 'Montserrat', sans-serif;
}

.suggestion-item:hover,
.suggestion-item.selected {
    background-color: #f8f9fa;
}

.suggestion-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #E3E4E8;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.suggestion-info {
    flex: 1;
    min-width: 0;
}

.suggestion-name {
    font-weight: 600;
    font-size: 14px;
    color: #333;
    margin-bottom: 2px;
}

.suggestion-email {
    font-size: 12px;
    color: #6c757d;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.no-suggestions {
    padding: 15px;
    text-align: center;
    color: #6c757d;
    font-size: 14px;
    font-style: italic;
}

/* Beautiful PayPal Payment Modal */
.gratitude-payment-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.gratitude-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(5px);
    z-index: -1;
}

.gratitude-modal-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    max-width: 450px;
    width: 90%;
    position: relative;
    z-index: 1;
    overflow: hidden;
    animation: modalSlideIn 0.3s ease-out;
}

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

.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    color: #6c757d;
    cursor: pointer;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.modal-close-btn:hover {
    background: rgba(108, 117, 125, 0.1);
    color: #495057;
    transform: scale(1.1);
}

.modal-header {
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    color: white;
    padding: 30px;
    text-align: center;
    position: relative;
}

.modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.modal-header h3 {
    margin: 0 0 15px 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.payment-amount {
    font-size: 32px;
    font-weight: 700;
    margin: 10px 0;
    font-family: 'Montserrat', sans-serif;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.payment-description {
    margin: 0;
    font-size: 16px;
    opacity: 0.9;
    font-family: 'Inter', sans-serif;
    position: relative;
    z-index: 1;
}

.modal-body {
    padding: 30px;
    min-height: 80px;
}

#paypal-button-container {
    margin: 0;
    min-height: 45px;
}

/* Override PayPal button styles to match our design */
#paypal-button-container iframe {
    border-radius: 8px !important;
}

.modal-footer {
    background: #f8f9fa;
    padding: 20px 30px;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: center;
}

.secure-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #2CC370;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
}

.secure-badge svg {
    flex-shrink: 0;
}

/* Test Payment Buttons */
.test-payment-btn {
    display: inline-block;
    padding: 12px 24px;
    margin: 0 10px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.test-payment-btn.success-btn {
    background: #2CC370;
    color: white;
}

.test-payment-btn.success-btn:hover {
    background: #27a85f;
    transform: translateY(-1px);
}

.test-payment-btn.failure-btn {
    background: #e74c3c;
    color: white;
}

.test-payment-btn.failure-btn:hover {
    background: #c0392b;
    transform: translateY(-1px);
}

/* Responsive design */
@media (max-width: 768px) {
    .gratitude-modal-content {
        max-width: 95%;
        margin: 20px;
    }

    .modal-header {
        padding: 25px 20px;
    }

    .modal-body {
        padding: 25px 20px;
    }

    .payment-amount {
        font-size: 28px;
    }

    .modal-header h3 {
        font-size: 20px;
    }

    .test-payment-btn {
        display: block;
        margin: 10px auto;
        width: 200px;
    }
}

/* Bottom-Right Notification System */
.gratitude-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    min-width: 320px;
    max-width: 400px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    z-index: 10001;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s ease-out;
    cursor: pointer;
    border-left: 4px solid #333;
}

.gratitude-notification.show {
    transform: translateX(0);
    opacity: 1;
}

.gratitude-notification.success {
    border-left-color: #28a745;
}

.gratitude-notification.error {
    border-left-color: #dc3545;
}

.gratitude-notification.warning {
    border-left-color: #ffc107;
}

.gratitude-notification.info {
    border-left-color: #17a2b8;
}

.notification-content {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
}

.notification-icon {
    font-size: 20px;
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 2px;
}

.gratitude-notification.success .notification-icon {
    color: #28a745;
}

.gratitude-notification.error .notification-icon {
    color: #dc3545;
}

.gratitude-notification.warning .notification-icon {
    color: #ffc107;
}

.gratitude-notification.info .notification-icon {
    color: #17a2b8;
}

.notification-message {
    flex: 1;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    line-height: 1.4;
    color: #333;
    font-weight: 500;
}

.notification-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #6c757d;
    cursor: pointer;
    padding: 0;
    margin-left: 8px;
    line-height: 1;
    flex-shrink: 0;
    transition: color 0.2s ease;
}

.notification-close:hover {
    color: #333;
}

/* Stack multiple notifications */
.gratitude-notification:nth-last-child(2) {
    bottom: 110px;
}

.gratitude-notification:nth-last-child(3) {
    bottom: 200px;
}

.gratitude-notification:nth-last-child(4) {
    bottom: 290px;
}

/* Mobile responsiveness for notifications */
@media (max-width: 768px) {
    .gratitude-notification {
        bottom: 15px;
        right: 15px;
        left: 15px;
        min-width: auto;
        max-width: none;
        width: auto;
    }

    .notification-content {
        padding: 14px;
    }

    .notification-message {
        font-size: 13px;
    }
}

