button, .button, .btn {
    padding: 12px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.3s;
   color:#333;
   border:1px solid #bbb;
   margin-top:10px;
   background:#0157FF;
}
button:hover, .button:hover, .btn:hover {
    background-color: #013FCC; /* Darker shade of blue for hover effect */
    transform: scale(1.05); /* Slightly enlarges the button */
    color: #fff; /* Changes text color to white */
    border-color: #0157FF; /* Lighten the border on hover */
}

.btn-primary {
    background-color: #003466;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #6c757d;
    color: #ffffff;
}

.btn-secondary:hover {
    background-color: #5a6268;
    transform: translateY(-2px);
}

.reset {
    background-color: #f44336;
    color: #ffffff;
}

.reset:hover {
    background-color: #c62828;
    transform: translateY(-2px);
}

.btn-success {
    background-color: #28a745;
    color: #ffffff;
}

.btn-success:hover {
    background-color: #218838;
    transform: translateY(-2px);
}

.btn-warning {
    background-color: #ffc107;
    color: #212529;
}

.btn-warning:hover {
    background-color: #e0a800;
    transform: translateY(-2px);
}

.btn-info {
    background-color: #17a2b8;
    color: #ffffff;
}

.btn-info:hover {
    background-color: #138496;
    transform: translateY(-2px);
}

.btn-light {
    background-color: #f8f9fa;
    color: #212529;
}

.btn-light:hover {
    background-color: #e2e6ea;
    transform: translateY(-2px);
}

.btn-dark {
    background-color: #343a40;
    color: #ffffff;
}

.btn-dark:hover {
    background-color: #23272b;
    transform: translateY(-2px);
}

.disabled, .btn:disabled {
    background-color: #e0e0e0;
    color: #a6a6a6;
    cursor: not-allowed;
    transform: none;
}

.container {
            display: flex;
            justify-content: space-between;
            max-width: 100%;
            margin: 0 auto;
            padding: 20px;
            background: #fff;
            border-radius: 10px;
            
        }
        .input-section, .output-section {
            width: 45%;
        }
       
        .button-group {
            display: flex;
            justify-content: space-between;
        }
      
        h3 {
            color: #333;
        }
        .output-section {
    background-color: #ffffff; /* White background for clarity */
    border-radius: 10px; /* Rounded corners */
    padding: 20px; /* Padding around the content */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    margin-top: 20px; /* Space above the output section */
}

.output-section h3 {
    color: #333; /* Dark gray for text color */
    font-weight: 500; /* Medium font weight */
    margin: 10px 0; /* Margin between headings */
    position: relative; /* For pseudo-element positioning */
    padding-left: 20px; /* Space for the underline */
}

.output-section h3::before {
    content: ""; /* Empty content for the line */
    position: absolute;
    left: 0;
    bottom: 0; /* Position the line at the bottom of the heading */
    width: 5px; /* Width of the line */
    height: 100%; /* Full height of the heading */
    background-color: #28a745; /* Green color for the line */
    border-radius: 2px; /* Slightly rounded line edges */
}
.canvas-container {
    border: 2px solid #007bff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 10px;
    background-color: #ffffff;
    margin: 20px 0;
}

canvas {
    display: block;
    width: 100%;
    height: auto;
    background-color: #f8f9fa;
    border-radius: 5px;
    overflow: hidden;
    margin:20px auto;
}

input[type="text"],
input[type="number"],
input[type="email"],
input[type="password"]{
    width: 100%;
    padding: 12px;
    border: 2px solid #bbb;
    border-radius: 5px;
    font-size: 16px;
    color: #333;
    transition: border-color 0.3s, box-shadow 0.3s;
    margin-bottom:10px;
}

input[type="text"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="password"]:focus {
    border-color: #0056b3;
    box-shadow: 0 0 5px rgba(0, 86, 179, 0.5);
    outline: none;
}

input::placeholder {
    color: #aaa;
    opacity: 1;
}

input[type="reset"] {
    background-color: #f44336;
}

input[type="reset"]:hover {
    background-color: #d32f2f;
}
textarea {
    width: 100%;
    height: 150px;
    padding: 12px;
    border: 2px solid #007bff;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-size: 16px;
    color: #333;
    resize: vertical;
    transition: border-color 0.3s, box-shadow 0.3s;
}

textarea:focus {
    border-color: #0056b3;
    box-shadow: 0 0 5px rgba(0, 86, 179, 0.5);
    outline: none;
}

textarea::placeholder {
    color: #aaa;
    opacity: 1;
}

