/* Main styles for BrazeMigrator: SFMC to Braze Migration Tool by Red Hibbert */

:root {
    --sfmc-blue: #0078D4;
    --braze-purple: #6B48FF;
    --accent-orange: #FF6B00;
    --rh-blue: #34629D;
    --gradient-primary: linear-gradient(90deg, var(--sfmc-blue) 0%, var(--braze-purple) 100%);
    --light-bg: #f8f9fa;
    --card-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --card-hover-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* Apply brand fonts */
body {
    font-family: 'Montserrat', 'Segoe UI', sans-serif;
}

/* Custom logo styling - FIXED visibility issue */
.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: 600;
}

.navbar-brand img {
    height: 40px;
    margin-right: 10px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 4px;
    padding: 4px;
}

/* Fix for logo text visibility */
.navbar-brand span {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 3px 8px;
    border-radius: 4px;
}

.navbar-brand .text-blue {
    color: var(--sfmc-blue);
}

.navbar-brand .text-purple {
    color: var(--braze-purple);
}

/* Updated navbar */
.navbar {
    background: var(--gradient-primary) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Custom hero section */
.hero-section {
    padding: 3rem 0;
    background-color: var(--light-bg);
    border-radius: 0.5rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 120, 212, 0.1) 0%, rgba(107, 72, 255, 0.1) 100%);
    z-index: 0;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

/* Migration step pills */
.migration-step {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    background-color: #e9ecef;
    border-radius: 2rem;
    font-weight: 500;
}

.migration-step.active {
    background-color: var(--sfmc-blue);
    color: white;
}

.migration-step.completed {
    background-color: var(--braze-purple);
    color: white;
}

/* Form styling */
.form-card {
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    border-top: 4px solid var(--sfmc-blue);
}

.form-card:hover {
    box-shadow: var(--card-hover-shadow);
}

/* Card styling */
.card-header.bg-primary {
    background: var(--gradient-primary) !important;
}

/* Progress bar customization */
.progress {
    height: 1.5rem;
    border-radius: 0.75rem;
    overflow: hidden;
}

.progress-bar-animated {
    background: var(--gradient-primary) !important;
}

/* Card hover effects */
.card-hover {
    transition: transform 0.3s ease;
    border-top: 3px solid transparent;
    border-image: var(--gradient-primary);
    border-image-slice: 1;
}

.card-hover:hover {
    transform: translateY(-5px);
}

/* Button styling */
.btn-primary {
    background-color: var(--braze-purple);
    border-color: var(--braze-purple);
}

.btn-primary:hover {
    background-color: #5a3de0;
    border-color: #5a3de0;
}

.btn-outline-primary {
    border-color: var(--braze-purple);
    color: var(--braze-purple);
}

.btn-outline-primary:hover {
    background-color: var(--braze-purple);
    color: white;
}

/* Custom footer */
.footer {
    margin-top: 3rem;
    padding: 1.5rem 0;
    background-color: var(--light-bg);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Red Hibbert branding */
.rh-branding {
    color: var(--rh-blue);
    font-weight: 600;
}

.powered-by {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.powered-by img {
    height: 30px;
    margin-right: 10px;
}

/* Utility classes */
.text-small {
    font-size: 0.875rem;
}

.bg-light-blue {
    background-color: rgba(0, 120, 212, 0.1);
}

.bg-light-purple {
    background-color: rgba(107, 72, 255, 0.1);
}

/* Make cards in same row have equal height */
.card-deck .card {
    height: 100%;
}

/* Custom styling for asset selection list */
.asset-select-list .list-group-item {
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-left: 3px solid transparent;
}

.asset-select-list .list-group-item:hover {
    background-color: rgba(107, 72, 255, 0.05);
    border-left: 3px solid var(--braze-purple);
}

.asset-select-list .form-check-input:checked + div strong {
    color: var(--braze-purple);
}

/* Chat support widget */
.support-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.support-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.support-button i {
    font-size: 24px;
}

/* Expert badge */
.expert-badge {
    display: inline-block;
    background-color: var(--rh-blue);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

/* Resources section */
.resource-card {
    height: 100%;
    transition: all 0.3s ease;
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-hover-shadow);
}

.resource-icon {
    font-size: 2rem;
    color: var(--sfmc-blue);
    margin-bottom: 1rem;
}

/* Testimonials */
.testimonial-carousel {
    padding: 2rem 0;
}

.testimonial-card {
    padding: 2rem;
    margin: 1rem;
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: var(--card-shadow);
}

.testimonial-quote {
    font-style: italic;
    position: relative;
    padding: 0 1rem;
}

.testimonial-quote::before {
    content: """;
    font-size: 3rem;
    position: absolute;
    left: -1rem;
    top: -1rem;
    color: rgba(107, 72, 255, 0.2);
}

.testimonial-author {
    font-weight: 600;
    color: var(--sfmc-blue);
} 