/* Auto Scroll Notice Board Styles */

.asn-notice-board {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 100%;
    height: 500px;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.asn-notice-title {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin: 0 0 20px 0;
    color: #333;
    flex-shrink: 0;
}

.asn-notice-list {
    overflow: hidden;
    flex: 1;
    position: relative;
    mask-image: linear-gradient(
        to bottom,
        transparent,
        black 20px,
        black calc(100% - 20px),
        transparent
    );
    -webkit-mask-image: linear-gradient(
        to bottom,
        transparent,
        black 20px,
        black calc(100% - 20px),
        transparent
    );
}

.asn-notice-item {
    padding: 15px;
    border-bottom: 1px solid #eee;
    display: block;
    text-decoration: none;
    color: inherit;
    transition: background 0.3s ease;
}

.asn-notice-item:hover {
    background: #f9f9f9;
    cursor: pointer;
}

.asn-notice-item:last-child {
    border-bottom: 1px solid #eee;
}

.asn-notice-date {
    display: block;
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
    font-weight: 500;
}

.asn-notice-text {
    font-size: 15px;
    line-height: 1.5;
    color: #333;
    margin: 0;
    font-weight: 400;
}

.asn-view-all-btn {
    display: block;
    text-align: center;
    color: #00a89a;
    text-decoration: none;
    margin-top: 20px;
    font-weight: 600;
    flex-shrink: 0;
    transition: color 0.3s ease;
}

.asn-view-all-btn:hover {
    color: #008c7e;
}

/* Responsive Design */
@media (max-width: 768px) {
    .asn-notice-board {
        max-width: 100%;
        height: 400px;
        padding: 20px;
    }

    .asn-notice-title {
        font-size: 20px;
    }

    .asn-notice-text {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .asn-notice-board {
        height: 350px;
        padding: 15px;
    }

    .asn-notice-item {
        padding: 12px;
    }
}

/* ========================================
   DESIGN PRESETS
   ======================================== */

/* Modern Preset */
.asn-preset-modern .asn-notice-board {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.4);
}

.asn-preset-modern .asn-notice-title {
    color: #ffffff;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.asn-preset-modern .asn-notice-item {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    margin-bottom: 10px;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.asn-preset-modern .asn-notice-item:hover {
    background: #ffffff;
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.asn-preset-modern .asn-notice-text {
    color: #2d3748;
    font-weight: 600;
}

.asn-preset-modern .asn-notice-date {
    color: #667eea;
    font-weight: 600;
}

.asn-preset-modern .asn-view-all-btn {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 700;
}

.asn-preset-modern .asn-view-all-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Minimal Preset */
.asn-preset-minimal .asn-notice-board {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    box-shadow: none;
}

.asn-preset-minimal .asn-notice-title {
    color: #212529;
    font-weight: 600;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.asn-preset-minimal .asn-notice-item {
    background: transparent;
    border-bottom: 1px solid #dee2e6;
}

.asn-preset-minimal .asn-notice-item:hover {
    background: #ffffff;
}

.asn-preset-minimal .asn-notice-text {
    color: #495057;
    font-size: 14px;
}

.asn-preset-minimal .asn-notice-date {
    color: #868e96;
    font-size: 12px;
}

.asn-preset-minimal .asn-view-all-btn {
    color: #495057;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Bold Preset */
.asn-preset-bold .asn-notice-board {
    background: #000000;
    border-radius: 15px;
    border: 3px solid #ffd700;
    box-shadow: 0 8px 32px rgba(255, 215, 0, 0.3);
}

.asn-preset-bold .asn-notice-title {
    color: #ffd700;
    font-weight: 900;
    font-size: 28px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.asn-preset-bold .asn-notice-item {
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 2px solid #ffd700;
}

.asn-preset-bold .asn-notice-item:hover {
    background: rgba(255, 215, 0, 0.1);
    border-left: 4px solid #ffd700;
}

.asn-preset-bold .asn-notice-text {
    color: #ffffff;
    font-weight: 700;
    font-size: 16px;
}

.asn-preset-bold .asn-notice-date {
    color: #ffd700;
    font-weight: 700;
}

.asn-preset-bold .asn-view-all-btn {
    color: #ffd700;
    font-weight: 800;
    font-size: 16px;
    text-transform: uppercase;
}

/* Gradient Preset */
.asn-preset-gradient .asn-notice-board {
    background: linear-gradient(45deg, #fa8bff 0%, #2bd2ff 52%, #2bff88 90%);
    border-radius: 25px;
    box-shadow: 0 15px 50px rgba(250, 139, 255, 0.4);
    padding: 35px;
}

.asn-preset-gradient .asn-notice-title {
    color: #ffffff;
    font-weight: 800;
    font-size: 26px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
}

.asn-preset-gradient .asn-notice-item {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    margin-bottom: 12px;
    border: none;
    backdrop-filter: blur(10px);
}

.asn-preset-gradient .asn-notice-item:hover {
    background: #ffffff;
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.asn-preset-gradient .asn-notice-text {
    color: #2d3748;
    font-weight: 600;
}

.asn-preset-gradient .asn-notice-date {
    color: #fa8bff;
    font-weight: 700;
}

.asn-preset-gradient .asn-view-all-btn {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.25);
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 700;
    backdrop-filter: blur(10px);
}

/* Dark Mode Preset */
.asn-preset-dark .asn-notice-board {
    background: #1a202c;
    border: 1px solid #2d3748;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.asn-preset-dark .asn-notice-title {
    color: #63b3ed;
    font-weight: 700;
    font-size: 24px;
}

.asn-preset-dark .asn-notice-item {
    background: #2d3748;
    border-bottom: 1px solid #4a5568;
}

.asn-preset-dark .asn-notice-item:hover {
    background: #374151;
    border-left: 3px solid #63b3ed;
}

.asn-preset-dark .asn-notice-text {
    color: #e2e8f0;
    font-weight: 500;
}

.asn-preset-dark .asn-notice-date {
    color: #90cdf4;
    font-weight: 600;
}

.asn-preset-dark .asn-view-all-btn {
    color: #63b3ed;
    font-weight: 700;
}

.asn-preset-dark .asn-view-all-btn:hover {
    color: #90cdf4;
}

/* Preset Responsive Adjustments */
@media (max-width: 768px) {
    .asn-preset-modern .asn-notice-title,
    .asn-preset-bold .asn-notice-title,
    .asn-preset-gradient .asn-notice-title,
    .asn-preset-dark .asn-notice-title {
        font-size: 20px;
    }
}   }
}
