.nrr-wrapper {
    max-width: 600px;
    margin: 20px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.nrr-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.nrr-input-group {
    margin-bottom: 20px;
}

.nrr-input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.nrr-input-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    box-sizing: border-box; /* Ensure padding doesn't affect width */
}

.nrr-helper-text {
    display: block;
    font-size: 12px;
    color: #777;
    margin-top: 4px;
}

#nrr-calculate-btn {
    width: 100%;
    padding: 15px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 10px;
}

#nrr-calculate-btn:hover {
    background-color: #0056b3;
}

#nrr-calculate-btn:disabled {
    background-color: #a0a0a0;
    cursor: not-allowed;
}

.nrr-result {
    margin-top: 25px;
    padding: 20px;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    border-radius: 8px;
    color: #fff;
}

.nrr-result.positive {
    background-color: #28a745; /* Green */
}

.nrr-result.negative {
    background-color: #dc3545; /* Red */
}

.nrr-action-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.nrr-action-buttons button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: opacity 0.3s;
}

.share-btn {
    background-color: #17a2b8;
    color: white;
}

.reset-btn {
    background-color: #6c757d;
    color: white;
}

.nrr-action-buttons button:hover {
    opacity: 0.9;
}

.nrr-other-tools {
    margin-top: 30px;
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.nrr-other-tools h3 {
    margin-top: 0;
    font-size: 18px;
    color: #333;
}

.nrr-tool-links a {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

.nrr-tool-links a:hover {
    text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .nrr-card {
        padding: 20px;
    }
    
    .nrr-input-group input {
        font-size: 14px;
    }
    
    #nrr-calculate-btn {
        font-size: 16px;
    }
}
