/* 
Table of Contents:
1. Base Styles
2. Layout Components
3. Cards & Containers
4. Icons & Buttons
5. Forms & Inputs
6. Tables & Lists
7. Miscellaneous
*/


/* 1. Base Styles */

html,
body {
    height: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f5f7;
    display: flex;
    flex-direction: column;
}


/* 2. Layout Components */

.content {
    flex: 1 0 auto;
}

.header {
    position: relative;
    background-color: #5267DF;
    padding: 40px 20px;
    border-radius: 20px;
    color: white;
}

.footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 20px 0;
    text-align: center;
    flex-shrink: 0;
    margin-top: 100px;
}

.footer a,
.footer .social-icons i {
    color: #ecf0f1;
    margin: 0 15px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover,
.footer .social-icons i:hover {
    color: #3498db;
}


/* 3. Cards & Containers */

.tool-card,
.temp-converter-container,
.gst-calculator-container,
.minifier-container,
.converter-container,
.ssl-checker-container,
.domain-checker-container {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.tool-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}


/* 4. Icons & Buttons */

.icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #007bff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.icon i {
    font-size: 24px;
    color: white;
}

.back-to-home {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #fff;
    color: blue;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    display: flex;
    align-items: center;
    margin: 10px;
}

.back-to-home:hover {
    background-color: #ccc;
}

.btn,
.ssl-checker-container button,
.domain-checker-container input[type="submit"],
button {
    padding: 10px;
    border-radius: 4px;
    background-color: #007BFF;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn:hover,
.ssl-checker-container button:hover,
.domain-checker-container input[type="submit"]:hover {
    background-color: #0056b3;
}

.btn-success {
    color: #fff !important;
}

.btn-success:visited,
.btn-success:hover,
.btn-success:focus,
.btn-success:active {
    color: #fff !important;
}


/* 5. Forms & Inputs */

.form-group .form-control,
.form-group select {
    font-size: 24px;
    padding: 20px 30px;
    height: auto;
}

.form-control-lg,
select.form-control-lg {
    font-size: 28px;
    padding: 25px 35px;
}

.form-control-sm,
select.form-control-sm {
    font-size: 20px;
    padding: 15px 25px;
}

textarea,
input[type="text"],
input[type="number"] {
    width: 100%;
    padding: 15px;
    font-size: 18px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 20px;
    box-sizing: border-box;
}

textarea:focus,
input[type="text"]:focus,
input[type="number"]:focus {
    outline: none;
    border: 2px solid #007bff;
}

input[type=submit] {
    padding: 25px 50px;
    font-size: 24px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

input[type=submit]:hover {
    background-color: #45a049;
}


/* 6. Tables & Lists */

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

table,
th,
td {
    border: 1px solid #ddd;
}

th {
    background-color: #4CAF50;
    color: white;
    padding: 8px 12px;
    text-align: left;
}

td {
    padding: 8px 12px;
    text-align: left;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

tr:hover {
    background-color: #f5f5f5;
}


/* 7. Miscellaneous */

pre {
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 15px;
    text-align: left;
    display: inline-block;
    max-width: 100%;
    overflow-x: auto;
}

.code-box {
    background-color: #333;
    color: #f1f1f1;
    font-family: 'Courier New', Courier, monospace;
    white-space: pre-line;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.code-box:hover {
    cursor: pointer;
    background-color: #292929;
}

#map {
    height: 300px;
    width: 100%;
    margin-top: 20px;
}

.g-recaptcha {
    display: block;
    margin: 20px auto;
}

.result-text {
    margin-top: 20px;
    font-size: 18px;
    text-align: center;
}

#hashOutput {
    padding: 10px;
    background-color: #f7f7f7;
    border: 1px solid #ccc;
    border-radius: 5px;
    cursor: pointer;
    display: inline-block;
    margin-top: 10px;
}

.btn-container {
    display: flex;
    justify-content: start;
    gap: 10px;
}

.available-domains {
    list-style-type: none;
    padding: 0;
}

.available-domains li {
    margin: 10px 0;
    padding: 10px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.available-domains a {
    text-decoration: none;
    color: #007bff;
    margin-right: 15px;
}

.available-domains a:hover {
    text-decoration: underline;
}

.centered-ad {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    /* Set the container to full width */
}

.centered-ad iframe {
    display: block;
    margin: auto;
    /* Use !important carefully, only if necessary */
}


/* 
my edite
*/

.text-footer {
    font-size: 20px !important;
    border-radius: 5px !important;
    border: px solid red !important;
}

.mo-footer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.mo-footer .box {
    padding: 0px 20px;
}

.mo-footer .box p {
    text-align: left;
    line-height: 1;
}

.mo-edit {
    justify-content: center;
}

.mo-nav {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    padding: 0px 0px 20px 0px;
}

.mo-nav-item {}

.mo-nav-item a {
    color: white;
    text-decoration: none;
    padding: 10px;
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
}