/* Main Container */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

.pcp-wrapper {
    max-width: 800px;
    margin: 40px auto;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    overflow: hidden;
    color: #333;
}

/* Progress Bar */
.pcp-progress-container {
    display: flex;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.pcp-step-indicator {
    flex: 1;
    padding: 15px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: #aaa;
    position: relative;
    transition: all 0.3s ease;
}

.pcp-step-indicator.active {
    color: #0077b6;
    /* Premium Blue */
    background: #e0f7fa;
}

.pcp-step-indicator.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #0077b6;
}

/* Form Steps */
.pcp-step {
    display: none;
    /* Hidden by default */
    padding: 30px 40px;
    animation: fadeIn 0.5s ease;
}

.pcp-step.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pcp-header {
    text-align: center;
    margin-bottom: 30px;
}

.pcp-header h3 {
    margin: 0 0 10px;
    color: #023e8a;
    font-size: 1.8rem;
}

.pcp-header p {
    color: #666;
    margin: 0;
}

/* Grids */
.pcp-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.pcp-grid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

@media (max-width: 600px) {

    .pcp-grid-2,
    .pcp-grid-3 {
        grid-template-columns: 1fr;
    }
}

/* Input Styles */
.pcp-input-group {
    margin-bottom: 20px;
}

.pcp-input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    color: #444;
}

.pcp-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.pcp-icon {
    position: absolute;
    left: 12px;
    font-style: normal;
    font-size: 1.1rem;
    opacity: 0.7;
}

.pcp-input-group input,
.pcp-input-group select {
    width: 100%;
    padding: 12px 15px;
    padding-left: 15px;
    /* Adjust if icon is used, specific inputs handle this via JS or inline styles if needed, but generic padding is fine */
    border: 1px solid #dde2e5;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s;
    background: #fff;
    box-sizing: border-box;
    /* Important for inputs not overflowing */
}

.pcp-input-wrapper input {
    padding-left: 40px;
    /* Space for icon */
}

.pcp-input-group input:focus,
.pcp-input-group select:focus {
    border-color: #00b4d8;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.1);
}

/* Buttons */
.pcp-footer {
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pcp-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}

.pcp-btn-next,
.pcp-btn-submit {
    background: #0077b6;
    color: white;
    margin-left: auto;
    /* Push to right */
}

.pcp-btn-next:hover,
.pcp-btn-submit:hover {
    background: #023e8a;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 119, 182, 0.3);
}

.pcp-btn-prev {
    background: #e9ecef;
    color: #495057;
}

.pcp-btn-prev:hover {
    background: #dee2e6;
}

/* Result Cards - Product Style */
.pcp-recommendation-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 0;
    margin-top: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: row;
    /* Side by side on desktop */
    transition: transform 0.2s;
}

.pcp-recommendation-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Image container */
.pcp-card-image {
    width: 200px;
    background: #f4f4f4;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
}

.pcp-card-image img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

/* Content container */
.pcp-card-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pcp-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 10px;
    line-height: 1.3;
}

.pcp-card-desc {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}

.pcp-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.pcp-btn-buy {
    text-decoration: underline;
    background: transparent;
    color: #0077b6;
    padding: 0;
    border-radius: 0;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.2s;
    display: inline-block;
    box-shadow: none;
    cursor: pointer;
}

.pcp-btn-buy:hover {
    background: transparent;
    color: #023e8a;
    transform: none;
    box-shadow: none;
}

/* Price removed per request, styles kept minimal just in case */
.pcp-price {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .pcp-recommendation-card {
        flex-direction: column;
    }

    .pcp-card-image {
        width: 100%;
        height: 200px;
    }
}