/* ============================================================================
   number-tool.css - NUMBER TOOLS category (shared by all number tools)
   ============================================================================
   Loaded by:  number-tools/binary-to-decimal.php, binary-to-hexadecimal.php,
               binary-to-octal.php, decimal-to-binary.php,
               decimal-to-hexadecimal.php, decimal-to-octal.php,
               hexadecimal-to-binary.php, hexadecimal-to-decimal.php,
               hexadecimal-to-octal.php, number-to-roman.php,
               number-to-word.php, word-to-number.php
   Purpose:    Compact textarea (150px), bordered .input-container variant,
               #numberInput / #numberInWord / #formatDropdown, copy/clear/
               download icon links, .case-link, .display-align.
   Load order: Load AFTER tool-input.css - overrides its textarea height and
               .input-container styling for number-tool pages.
   ============================================================================ */

/* Custom CSS for Number Tool Feature */
textarea {
    height: 150px;
    margin-top: 5px;
    margin-bottom: 2px;
}

.app-container {
    display: flex;
    align-items: baseline;
    justify-content: center;
  }
  
.input-container {
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #d1d1d1;
    border-radius: 10px;
}

#numberInput, #numberInWord  {
    width: 100%;
    margin-top: 5px;
    font-size: 16px;
    padding: 10px;
}

#formatDropdown {
    max-width: 100%;
    margin: 5px 15px 0px 0px;
    font-size: 16px;
    padding: 10px 30px 10px 10px;
}

.input-group-text {
    background-color: #f9f9f9;
}
.form-control {
    border: 1px solid #67b7cf;
}

.display-align{
        align-items: center;
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
}

.case-link{
    text-decoration: none;
    padding:2px;
    margin-right:2px;
    color:#27a737;
}

#copyInput, #clearInput, #copyOutput, #clearOutput {
    cursor: pointer;
    margin-right: 5px;
    color: #666;
}

#downloadOutput {
    cursor: pointer;
    color: #666;
    text-decoration: none;
    margin-left: 10px;
}

#downloadOutput:hover {
    text-decoration: underline;
}


/* Center align the dropdown in a column */
.col-md-4-dropdown {
    display: flex;
    justify-content: center;
}

.icon-design{
    margin-left:15px;
    font-size: 1.05em;
}

.text-large{
    font-size: 1.03em;
}


/* Responsive Design */
@media (max-width: 768px) {
    .input-container {
        padding: 10px;
    }

    #numberInput, #numberInWord, #formatDropdown {
        font-size: 14px;
        padding: 8px;
    }

    .result-message {
        font-size: 16px;
    }
}
