/* CalWhat Calculator Platform - RealEstateROICalculator Specific Styles */
/* This file contains calculator-specific styles */
  
    .input-group-custom {
        margin-bottom: 20px;
    }

    .input-label {
        display: block;
        font-size: 1rem;
        font-weight: 600;
        color: #2d3748;
        margin-bottom: 8px;
    }

        .input-label i {
            color: #667eea;
            margin-right: 8px;
            width: 20px;
        }

    .tooltip-icon {
        display: inline-block;
        width: 18px;
        height: 18px;
        line-height: 18px;
        text-align: center;
        background: #667eea;
        color: white;
        border-radius: 50%;
        font-size: 12px;
        cursor: help;
        margin-left: 5px;
        position: relative;
    }

        .tooltip-icon .tooltip-text {
            visibility: hidden;
            width: 250px;
            background-color: #2d3748;
            color: #fff;
            text-align: left;
            border-radius: 8px;
            padding: 10px;
            position: absolute;
            z-index: 1000;
            bottom: 125%;
            left: 50%;
            margin-left: -125px;
            opacity: 0;
            transition: opacity 0.3s;
            font-size: 13px;
            font-weight: normal;
            line-height: 1.4;
            box-shadow: 0 4px 12px rgba(0,0,0,0.2);
        }

            .tooltip-icon .tooltip-text::after {
                content: "";
                position: absolute;
                top: 100%;
                left: 50%;
                margin-left: -5px;
                border-width: 5px;
                border-style: solid;
                border-color: #2d3748 transparent transparent transparent;
            }

        .tooltip-icon:hover .tooltip-text {
            visibility: visible;
            opacity: 1;
        }

    .form-input {
        width: 100%;
        padding: 12px 15px;
        font-size: 1rem;
        border: 2px solid #48bb78;
        border-radius: 10px;
        transition: all 0.3s ease;
        background: white;
    }

        .form-input:focus {
            outline: none;
            border-color: #667eea;
            box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
        }

        .form-input.error {
            border-color: #ef4444;
            animation: shake 0.3s;
        }

    .input-range {
        font-size: 0.85rem;
        color: #718096;
        margin-top: 5px;
    }

    .input-row {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    @media (max-width: 768px) {
        .input-row {
            grid-template-columns: 1fr;
        }
    }


    .result-card {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
    }

        .result-card .card-title {
            color: white;
            border-bottom-color: rgba(255, 255, 255, 0.3);
        }

    .result-main {
        text-align: center;
        padding: 20px;
        margin-bottom: 20px;
    }

    .result-label {
        font-size: 1.1rem;
        font-weight: 500;
        margin-bottom: 10px;
        opacity: 0.95;
    }

    .result-value {
        font-size: 3rem;
        font-weight: 700;
        margin-bottom: 10px;
        animation: pulse 0.5s ease;
    }

    .result-details {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 15px;
        padding: 20px;
    }

    .result-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

        .result-item:last-child {
            border-bottom: none;
        }

    .result-item-label {
        font-weight: 500;
        opacity: 0.9;
    }

    .result-item-value {
        font-weight: 700;
        font-size: 1.2rem;
    }

    .result-divider {
        border: none;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        margin: 20px 0;
    }

    .cash-flow-indicator {
        padding: 15px;
        border-radius: 10px;
        margin: 15px 0;
        font-weight: 600;
        text-align: center;
    }

    .cash-flow-positive {
        background: rgba(72, 187, 120, 0.2);
        border: 2px solid #48bb78;
    }

    .cash-flow-negative {
        background: rgba(239, 68, 68, 0.2);
        border: 2px solid #ef4444;
    }

    .cash-flow-neutral {
        background: rgba(251, 191, 36, 0.2);
        border: 2px solid #fbbf24;
    }

    .investment-advice {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 15px;
        padding: 20px;
        margin-top: 20px;
    }

        .investment-advice h4 {
            font-size: 1.2rem;
            margin-bottom: 10px;
        }

        .investment-advice p {
            line-height: 1.6;
            opacity: 0.95;
        }

    .chart-container {
        position: relative;
        height: 300px;
        margin-top: 20px;
    }

    @keyframes fadeInDown {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes pulse {
        0%, 100% {
            transform: scale(1);
        }

        50% {
            transform: scale(1.05);
        }
    }

    @keyframes shake {
        0%, 100% {
            transform: translateX(0);
        }

        25% {
            transform: translateX(-10px);
        }

        75% {
            transform: translateX(10px);
        }
    }

    @media (max-width: 768px) {
        .page-header h1 {
            font-size: 2rem;
        }

        .page-header .subtitle {
            font-size: 1rem;
        }

        .glass-card {
            padding: 20px;
        }

        .result-value {
            font-size: 2rem;
        }
    }