/* Notice Detail Modal */
.hrs-notice-detail-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f8f9fa;
    z-index: 10000;
    display: none;
    overflow-y: auto;
}

.hrs-notice-detail-overlay.active {
    display: block;
}

#hrs-app .hrs-notice-detail-container {
    margin: 0 auto !important;
}

.hrs-notice-detail-container {
    background: transparent;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: none;

    background-image: url("../../images/img/shape-bg.png") !important;
    background-size: 100% auto !important;
    background-position: left top !important;
    background-repeat: no-repeat !important;
    width: 100% !important;
    max-width: 500px !important;
}

.hrs-notice-detail-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
}

.hrs-notice-back-btn {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    color: #374151;
    text-decoration: none;
    font-weight: 400;
}

.hrs-notice-back-btn i {
    font-size: 16px;
}

.hrs-notice-hotel-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.hrs-notice-hotel-logo img {
    height: 28px;
}

.hrs-notice-detail-content {
    flex: 1;
    padding: 32px 24px 80px 24px;
}

#hrs-app .hrs-notice-detail-title {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #0270AD !important;
    margin: 0 0 4px 0 !important;
    line-height: 24px !important;
    text-align: center !important;
}

#hrs-app .hrs-notice-detail-date {
    font-size: 12px !important;
    color: #333333 !important;
    margin: 0 0 32px 0 !important;
    text-align: center !important;
    line-height: 16px !important;
    font-weight: 400 !important;
}

#hrs-app .hrs-notice-detail-greeting {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #1B1B1B !important;
    margin: 0 0 16px 0 !important;
    line-height: 24px !important;
}

#hrs-app .hrs-notice-detail-body {
    font-size: 13px !important;
    line-height: 20px !important;
    color: #333333 !important;
    margin: 0 0 20px 0 !important;
    font-weight: 400 !important;
    box-shadow: none !important;
}

.hrs-notice-detail-body p {
    margin: 0 0 16px 0;
}

.hrs-notice-detail-body p:last-child {
    margin-bottom: 0;
}

.hrs-notice-detail-signature {
    margin-top: 40px;
}

#hrs-app .hrs-notice-detail-regards {
    font-size: 13px !important;
    color: #333333 !important;
    margin: 0 0 8px 0 !important;
    line-height: 20px !important;
}

#hrs-app .hrs-notice-detail-sender {
    font-size: 16px !important;
    font-weight: 400 !important;
    color: #0270AD !important;
    margin: 0 0 8px 0 !important;
}

#hrs-app .hrs-notice-detail-position {
    font-size: 13px !important;
    color: #333333 !important;
    margin: 0 !important;
    line-height: 20px !important;
}

#hrs-app .hrs-notice-detail-footer {
    padding: 20px 0 !important;
    background: transparent;
    position: relative;
    bottom: 0;
    left: 50%;
    right: 0;
    max-width: 500px;
    margin: 0 auto;
    transform: translateX(-50%);
    width: 100%;
    box-shadow: none;
    margin-top: 50px !important;
}

#hrs-app .hrs-notice-download-btn {
    width: 100%;
    padding: 16px 24px;
    background: #0284c7;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background 0.3s;
    box-shadow: 0 2px 8px rgba(2, 132, 199, 0.3);
}

.hrs-notice-download-btn:hover {
    background: #0369a1;
}

.hrs-notice-download-btn i {
    font-size: 18px;
}

/* Notice Card in Dashboard */
.hrs-notice-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
    color: #fff;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.25);
}

.hrs-notice-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.35);
}

.hrs-notice-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.hrs-notice-card-icon {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.hrs-notice-card-title {
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
}

.hrs-notice-card-preview {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.95;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hrs-notice-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.hrs-notice-card-date {
    font-size: 12px;
    opacity: 0.9;
}

.hrs-notice-card-arrow {
    font-size: 16px;
    opacity: 0.9;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hrs-notice-detail-content {
        padding: 20px 16px;
    }
    
    .hrs-notice-detail-title {
        font-size: 16px;
    }
    
    .hrs-notice-detail-body {
        font-size: 14px;
    }
}
