/* Main container for button and box */
.pcp-container {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 998;
    display: flex;
    flex-direction: column;
    align-items: end;
}

/* Floating Button Styles */
.pcp-floating-button {
    background-color: #16436E; /* Dark Blue */
    color: white;
    border: none;
    border-radius: 50px;
    padding: 15px 25px;
    font-size: 16px;
    width: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    cursor: pointer;
    z-index: 999;
    transition: background-color 0.3s ease;
}

.pcp-floating-button:hover {
    background-color: #113558; /* Slightly darker blue */
}

/* Calculator Box Styles */
.pcp-calculator-box {
    background-color: #ffffff;
    width: 320px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.25);
    margin-bottom: 15px;
    overflow: hidden;
    
    /* Hide by default */
    opacity: 0;
    transform: translateY(20px);
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

/* Style for when the box is active/visible */
.pcp-calculator-box.active {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

/* Header Section */
.pcp-header {
    background-color: #f7f7f7;
    padding: 15px;
    border-bottom: 1px solid #e9e9e9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pcp-header h2 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.pcp-close-box {
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    line-height: 1;
}

.pcp-close-box:hover {
    color: #333;
}

/* Content & Form Section */
.pcp-content {
    padding: 20px;
}

.pcp-form-group {
    margin-bottom: 15px;
}

.pcp-form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    color: #555;
}

.pcp-form-group input,
.pcp-form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box; /* Important for padding and width */
}

.pcp-calculate-button {
    background-color: #259040; /* Green */
    color: white;
    padding: 12px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.pcp-calculate-button:hover {
    background-color: #1d7232; /* Slightly darker green */
}

/* Result Area */
.pcp-result {
    margin-top: 20px;
    padding: 15px;
    background-color: #e9f4eb; /* Light green */
    border: 1px solid #259040;  /* Green border */
    border-radius: 5px;
    font-size: 18px;
    text-align: center;
    font-weight: bold;
    display: none; /* Hidden by default */
    color: #1d7232;
}