/* Premium Rental Calculator Styles */

.rc-container {
    max-width: 500px;
    margin: 40px auto;
    background: #ffffff;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08), 0 2px 10px rgba(0,0,0,0.04);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    box-sizing: border-box;
}

.rc-container * {
    box-sizing: border-box;
}

.rc-title {
    font-size: 26px;
    font-weight: 700;
    color: #1a1f36;
    margin-top: 0;
    margin-bottom: 8px;
    text-align: center;
    line-height: 1.2;
}

.rc-subtitle {
    font-size: 15px;
    color: #697386;
    margin-bottom: 28px;
    text-align: center;
    line-height: 1.5;
}

.rc-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.rc-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.rc-form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #3c4257;
}

.rc-form-group input,
.rc-select-wrapper select {
    width: 100%;
    padding: 10px!important;
    font-size: 15px;
    border: 1px solid #e3e8ee;
    border-radius: 8px;
    background-color: #f7fafc;
    color: #1a1f36;
    transition: all 0.2s ease;
}

.rc-form-group input:focus,
.rc-select-wrapper select:focus {
    outline: none;
    border-color: #e8502c;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.15);
}

.rc-select-wrapper {
    position: relative;
}

.rc-select-wrapper::after {
    content: "▼";
    font-size: 11px;
    color: #8792a2;
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.rc-select-wrapper select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding: 14px 40px 14px 16px; /* Ensure space for arrow and no cut-off */
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

/* Style for unselected/placeholder option */
.rc-select-wrapper select:invalid,
.rc-select-wrapper select option[value=""] {
    color: #8792a2;
}
.rc-select-wrapper select option {
    color: #1a1f36; /* Default color for select options */
}

.rc-submit-btn {
    margin-top: 12px;
    background-color: #e8502c;
    color: white;
    font-weight: 600;
    font-size: 16px;
    padding: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
}

.rc-submit-btn:hover {
    background-color: #333 !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
}

input[type="number"] {
    
    text-align: left;
}

.rc-submit-btn:disabled {
    background-color: #c4cdd5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.rc-result {
    margin-top: 24px;
    padding: 16px 20px;
    border-radius: 8px;
    font-size: 16px;
    line-height: 1.5;
    text-align: center;
}

.rc-result strong {
    font-weight: 700;
}

.rc-result.rc-success {
    background-color: #f1faea;
    color: #2b7a0b;
    border: 1px solid #c9ecb4;
}

.rc-result.rc-error {
    background-color: #fff4f4;
    color: #d12e2e;
    border: 1px solid #fecaca;
}
