/*
 * Copyright (c) 2024 Biovisuals Private Limited
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of Biovisuals Private Limited.
 * You shall not disclose such Confidential Information and shall use it only
 * in accordance with the terms of the license agreement you entered into with Biovisuals Private Limited.
 */

/* text-tools.css */
#textTools {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#textTools label {
    font-size: 14px;
    margin-bottom: 5px;
}

#textTools select {
    padding: 5px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
}

#textTools button {
    padding: 10px;
    font-size: 14px;
    color: #fff;
    background-color: #007BFF;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#textTools button:hover {
    background-color: #0056b3;
}

#textTools .color-picker {
    display: flex;
    align-items:flex-start;
    padding: 10px;
}


#textTools {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 15px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    max-width: 300px;
}

#textTools h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #333;
    text-align: center;
}

#textTools .form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

#textTools label {
    font-size: 12px;
    color: #333;
    font-weight: bold;
}

#textTools select,
#textTools input[type="number"],
#textTools input[type="color"],
#textTools input[type="text"] {
    padding: 5px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: border-color 0.3s, box-shadow 0.3s;
}

#textTools input[type="color"] {
    width: 50px;
    padding: 0;
}

#textTools input[type="text"] {
    flex: 1;
    width: 95%;
}
#fontSizeInput {
    width: 150px;
}

#textTools select:focus,
#textTools input[type="number"]:focus,
#textTools input[type="color"]:focus,
#textTools input[type="text"]:focus {
    border-color: #007BFF;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

#textTools .input-group {
    display: flex;
    gap: 5px;
}

#textTools .input-group button {
    padding: 5px 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #cccccc;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

#textTools .input-group button:hover {
    background-color: #ddd;
    transform: scale(1.05);
}

#textTools .button-group {
    display: flex;
    gap: 5px;
}

#textTools .button-group button {
    flex: 1;
    padding: 5px 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #cccccc;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

#textTools .button-group button:hover {
    background-color: #ddd;
    transform: scale(1.05);
}


#textTools .color-picker label {
    margin-right: 10px;
}


#canvasTextHint {
    position: absolute;
    background: #fff8dc;
    color: #333;
    font-size: 13px;
    padding: 4px 8px;
    border: 1px solid #999;
    border-radius: 4px;
    box-shadow: 0 0 3px rgba(0,0,0,0.1);
    pointer-events: none;
    z-index: 999;
    display: none;
  }
  
