/* Careerscape Fraud Alert Widgets Styles */

/* =================================================================
   WARNING BANNER WIDGET
   ================================================================= */

.cs-fwb-wrapper {
    width: 100%;
    border: 1px solid #fde68a;
    border-radius: 16px;
    padding: 24px 32px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.cs-fwb-inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
}

/* Tablet breakpoint */
@media (max-width: 1024px) {
    .cs-fwb-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* Mobile breakpoint */
@media (max-width: 767px) {
    .cs-fwb-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .cs-fwb-wrapper {
        padding: 24px 20px;
    }
}

.cs-fwb-icon-wrap {
    flex-shrink: 0;
    padding: 12px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cs-fwb-icon-wrap svg,
.cs-fwb-icon-wrap i {
    width: 32px;
    height: 32px;
}

.cs-fwb-content {
    flex: 1;
}

.cs-fwb-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 4px 0;
}

.cs-fwb-description {
    margin: 0;
    line-height: 1.6;
}


/* =================================================================
   SCAM TYPES WIDGET
   ================================================================= */

.cs-fst-wrapper {
    width: 100%;
}

.cs-fst-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 1024px) {
    .cs-fst-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .cs-fst-grid {
        grid-template-columns: 1fr;
    }
}

.cs-fst-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.cs-fst-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
    border-color: #cbd5e1;
}

.cs-fst-icon-wrap {
    display: inline-flex;
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 16px;
    transition: transform 0.3s ease;
}

.cs-fst-card:hover .cs-fst-icon-wrap {
    transform: scale(1.1);
}

.cs-fst-icon-wrap svg,
.cs-fst-icon-wrap i {
    width: 24px;
    height: 24px;
}

.cs-fst-card-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.cs-fst-card-description {
    margin: 0;
    line-height: 1.6;
}


/* =================================================================
   RED FLAGS & TIPS WIDGET
   ================================================================= */

.cs-frft-wrapper {
    width: 100%;
}

.cs-frft-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
}

@media (max-width: 1024px) {
    .cs-frft-grid {
        grid-template-columns: 1fr;
    }
}

.cs-frft-column {
    width: 100%;
}

.cs-frft-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.cs-frft-header-icon {
    padding: 8px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cs-frft-header-icon svg,
.cs-frft-header-icon i {
    width: 24px;
    height: 24px;
}

.cs-frft-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.cs-frft-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cs-frft-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid;
}

.cs-frft-item-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.cs-frft-item-text {
    line-height: 1.5;
}


/* =================================================================
   ACTION STEPS WIDGET
   ================================================================= */

.cs-fas-wrapper {
    width: 100%;
    box-sizing: border-box;
    border-radius: 24px;
    padding: 48px;
    overflow: hidden;
    position: relative;
}

.cs-fas-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 256px;
    height: 256px;
    background: rgba(251, 191, 36, 0.1);
    border-radius: 50%;
    filter: blur(48px);
    pointer-events: none;
}

.cs-fas-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
    position: relative;
}

.cs-fas-header-icon svg,
.cs-fas-header-icon i {
    width: 32px;
    height: 32px;
}

.cs-fas-header-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
}

.cs-fas-steps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    position: relative;
}

/* Tablet breakpoint */
@media (max-width: 1024px) {
    .cs-fas-header-title {
        font-size: 26px;
    }
}

/* Mobile breakpoint */
@media (max-width: 767px) {
    .cs-fas-steps-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .cs-fas-header {
        margin-bottom: 24px;
    }
    
    .cs-fas-header-title {
        font-size: 22px;
    }
    
    .cs-fas-step {
        gap: 14px;
    }
}

.cs-fas-step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.cs-fas-step-number {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.cs-fas-step-content {
    flex: 1;
}

.cs-fas-step-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 4px 0;
}

.cs-fas-step-description {
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}


/* =================================================================
   REPORT SECTION WIDGET
   ================================================================= */

.cs-frs-wrapper {
    width: 100%;
    text-align: center;
}

.cs-frs-header-icon {
    display: inline-flex;
    padding: 16px;
    border-radius: 16px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.cs-frs-header-icon svg,
.cs-frs-header-icon i {
    width: 40px;
    height: 40px;
}

.cs-frs-title {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 16px 0;
}

.cs-frs-description {
    font-size: 18px;
    line-height: 1.6;
    margin: 0 auto 32px;
    max-width: 640px;
}

.cs-frs-cards {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
}

@media (max-width: 600px) {
    .cs-frs-cards {
        flex-direction: column;
        align-items: center;
    }
}

.cs-frs-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    max-width: 280px;
}

.cs-frs-card-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 12px;
}

.cs-frs-card-icon {
    width: 20px;
    height: 20px;
}

.cs-frs-card-label {
    font-weight: 600;
}

.cs-frs-card-value {
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.cs-frs-external-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.cs-frs-link-separator {
    font-size: 12px;
}

.cs-frs-external-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.cs-frs-external-link svg {
    width: 16px;
    height: 16px;
}


/* =================================================================
   RESPONSIVE STYLES
   ================================================================= */

@media (max-width: 767px) {
    .cs-fwb-wrapper {
        padding: 20px 24px;
    }
    
    .cs-fst-card {
        padding: 20px;
    }
    
    .cs-frft-header {
        margin-bottom: 16px;
    }
    
    .cs-frft-title {
        font-size: 20px;
    }
    
    .cs-fas-header-title {
        font-size: 24px;
    }
    
    .cs-frs-title {
        font-size: 28px;
    }
    
    .cs-frs-description {
        font-size: 16px;
    }
}
