@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap');

* {
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
    box-sizing: border-box;

}

.navbar {
    background: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 30px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .logo {
    font-size: 20px;
    font-weight: 600;
    color: #1a73e8;
    text-decoration: none;
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.navbar ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 6px 12px;
    border-radius: 6px;
}

.navbar ul li a:hover {
    color: #1a73e8;
    background: #f0f0f2;
}

/* Hamburger menu for mobile */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    height: 3px;
    width: 25px;
    background: #1a73e8;
    border-radius: 2px;
    transition: all 0.3s ease;
}



/* Responsive Styles */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        left: -100%;
        top: 0;
        height: 100%;
        width: 250px;
        background: white;
        flex-direction: column;
        align-items: start;
        padding: 60px 20px;
        gap: 20px;
        transition: left 0.3s ease;
        box-shadow: 2px 0 5px rgba(0,0,0,0.1);
        z-index: 999;
    }

    .nav-links li a {
        font-size: 18px;
        padding: 10px 15px;
    }

    .nav-links.active {
        left: 0;
    }
}


body {
    min-height: 100vh;
    background-color: #efefef;

}

.text-card-row {
    display: flex;
    justify-content: space-around;
    padding: 20px;
    flex-wrap: wrap;
}

.text-card {
    background-color: white;
    border-radius: 20px;
    padding: 20px;
    height: 320px;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    gap: 20px;


}

.text-card h3 {
    margin-bottom: 10px;
}

.text-input {
    width: 355px;
    border: 2px solid #F0F0F2;
    border-radius: 10px;
    padding: 10px;
    font-family: "Space Mono", monospace;
    outline: none;
    transition: border-color 0.3s ease;
    resize: none;
    flex: 1;
    overflow: auto;
}

.text-input:focus {
    border: 2px solid #1a73e8 !important;
}

.text-input.error {
    border: 2px solid #FF3333;
}


.card-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}



.styled-select {
    position: relative;
    width: 220px;
    margin-bottom: 10px;
}

.styled-select select {
    width: 100%;
    padding: 10px 40px 10px 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: #fff;
    font-size: 16px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}

/* Dropdown Arrow */
.styled-select::after {
    content: "▼";
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    pointer-events: none;
    color: #555;
    font-size: 14px;
}

.styled-select select:focus {
    border-color: #1a73e8;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}


.error-message{
    color: #FF3333;
    margin-top: 10px;
}

.text-card-single{
    margin: 20px;
    font-weight: 300;
    height: unset;
    
}

.link{
    text-decoration: none;
    color: #1a73e8;
}

.link:hover{
    text-decoration: underline;
}


.hide-scrollbar::-webkit-scrollbar{
    display: none;
}

.copy-icon{
    width: 45px;
    transition: all 0.3s ease;
    padding: 10px;
    border-radius: 50%;
}
.copy-icon:hover{
    transform: translateY(-10px);
    background-color: #efefef;
}

.jc-sb{
    display: flex;
    align-items: center;
    justify-content: space-between;
}



@media (max-width: 768px) {
    .text-card-row{
        flex-direction: column;
    }
    .text-input{
        width: 100%;
    }
}