body {
    font-family: Arial, sans-serif;
    background: #f4f4f4;
    color: #333;
    margin: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

input[type],
.register select {
    padding: 9px;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 14px;
    margin-bottom: 15px;
    width: 60%;
}

.btn-url {
    padding: 10px !important;
    background-color: #3bd671;
    color: black;
    width: 25% !important;
}
.container {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 15px;
    max-width:800px ;
    width: 100%;
    text-align: center;
    margin: 20px auto;

}


@media (max-width:500px) {
    body {
        font-size: 14px !important;
    }

    .text-black {
        font-size: 14px !important;
    }

    .logo {
        width: 50% !important;
    }

    .update,
    .delete {
        font-size: 10px;
    }

    .y-links {
        font-size: 20px;
    }

    input,
    select {
        width: 50% !important;
        border: 1px solid #ddd;
        border-radius: 4px;
    }

    input#custom_short_url,
    span.gtrurl {
        width: 30% !important;
    }

    input[type],
    .register select {
        width: 65% !important;
    }

    .btn-url {
        width: 50% !important;
        padding: 1px !important;
        background-color: #3bd671;
        color: black;
    }
}



h1,
h2 {
    color: #333;
}

span.gtrurl {
    font-size: 12px !important;
}






.custom-btn {
    display: inline-block;
    padding: 10px 20px;
    margin: 5px;
    border: none;
    border-radius: 5px;
    text-align: center;
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.custom-btn.btn-login {
    background-color: #007bff;
    /* لون زر تسجيل الدخول */
}

.custom-btn.btn-register {
    background-color: #28a745;
    /* لون زر تسجيل */
}

.custom-btn:hover {
    opacity: 0.9;
    /* تأثير عند التمرير */
}

button {
    background-color: #4CAF50;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
}

.copy-link {
    position: relative;
    cursor: pointer;
}

.notification {
    display: none;
    position: absolute;
    top: -30px;
    left: 0;
    background-color: #4CAF50;
    color: white;
    padding: 5px;
    border-radius: 3px;
    margin-bottom: 5px;
    z-index: 1;
}

button:hover {
    background-color: #45a049;
}

.error {
    color: red;
    margin-top: 10px;
}



h1,
h2 {
    color: #4CAF50;
    margin-bottom: 20px;
}





.result {
    margin-top: 20px;
    font-size: 16px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th,
td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background: #6c757d;
    color: #fff;
}

tr:hover {
    background: #f1f1f1;
}

.copy-link {
    cursor: pointer;
    color: #000;
}

.copy-tooltip {
    visibility: hidden;
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.2s;
}

.copy-link.copied .copy-tooltip {
    visibility: visible;
    opacity: 1;
}

.copy-link {
    position: relative;
    cursor: pointer;
}

.notification {
    display: none;
    position: absolute;
    top: -30px;
    left: 0;
    background-color: #4CAF50;
    color: white;
    padding: 5px;
    border-radius: 3px;
    margin-bottom: 5px;
    z-index: 1;
}

span .gtrurl {
    font-size: 1px !important;
}