/* info-tech.css */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&family=Fira+Code&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f0f4f8;
    overflow-x: hidden;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.fc-tech-guide-container {
    max-width: 900px;
    width: 100%;
    margin: 1rem auto;
    padding: 1rem;
    flex: 1;
    background-color: #ffffff;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    overflow-x: hidden;
}

.fc-tech-guide-heading {
    color: #1a365d;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    text-align: center;
}

.fc-tech-tab-container {
    background: white;
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5);
    margin-bottom: 30px;
    overflow: hidden;
}

.fc-tech-tab-buttons {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 2px solid #e2e8f0;
    background-color: #e0e0e0;
}

.fc-tech-tab-button {
    padding: 10px 15px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: #4a5568;
    transition: all 0.3s ease;
    flex: 1;
    text-align: center;
}

.fc-tech-tab-button:hover {
    background-color: #edf2f7;
}

.fc-tech-tab-button.active {
    color: #2b6cb0;
    border-bottom: 3px solid #2b6cb0;
    background-color: #ffffff;
}

.fc-tech-tab-content {
    padding: 20px;
    display: none;
}

.fc-tech-tab-content.active {
    display: block;
}

.fc-tech-code-block {
    position: relative;
    background-color: #2d3748;
    color: #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
    max-height: 400px;
    overflow-y: auto;
    overflow-x: auto;
    font-family: 'Fira Code', monospace;
    font-size: 14px;
    line-height: 1.6;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.3);
}

.fc-tech-code-block code {
    display: block;
    white-space: pre-wrap;
    word-wrap: break-word;
    padding-right: 50px;
}

.fc-tech-copy-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: #4299e180;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 4px 4px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.fc-tech-copy-btn:hover {
    background-color: #3182ce;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

.fc-tech-preview {
    padding: 0px;
    max-width: 400px;
}

.fc-tech-help-text {
    background-color: #2c5282;
    color: #ffffff;
    padding: 20px;
    margin: 30px 0;
    border-radius: 10px;
    font-size: 1.2em;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.fc-tech-help-text::before {
    content: "!";
    position: absolute;
    top: -15px;
    left: -15px;
    background-color: #4299e1;
    color: #ffffff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    font-weight: bold;
    transform: rotate(-20deg);
}

.fc-tech-help-text a {
    color: #63b3ed;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease;
}

.fc-tech-help-text a:hover {
    color: #90cdf4;
    text-decoration: underline;
}

@media screen and (max-width: 768px) {
    .fc-tech-guide-container {
        margin: 0;
        padding: 0rem;
        border-radius: 0;
    }

    .fc-tech-guide-heading {
        font-size: 1.25rem;
    }

    .fc-tech-tab-buttons {
        flex-direction: column;
    }

    .fc-tech-tab-button {
        width: 100%;
        padding: 10px;
    }

    .fc-tech-code-block {
        font-size: 12px;
        padding: 15px;
    }

    .fc-tech-copy-btn {
        font-size: 12px;
        padding: 1px;
        margin: 1px;
    }

    .fc-tech-help-text {
        font-size: 1em;
        padding: 15px;
    }

    .fc-tech-help-text::before {
        width: 40px;
        height: 40px;
        font-size: 1.5em;
    }
}