/*
Theme Name: YouTube Downloader Theme
Theme URI: https://example.com/youtube-downloader-theme
Author: YouTube Downloader
Author URI: https://example.com
Description: A WordPress theme for YouTube video downloading functionality
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: youtube-downloader-theme
Tags: youtube, downloader, video
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    padding: 20px;
}

a {
    color: #0d6efd;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Container Styles */
.container {
    max-width: 900px;
    margin: 0 auto;
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* Header Styles */
.header {
    text-align: center;
    margin-bottom: 30px;
}

.header h1 {
    color: #dc3545;
    margin-bottom: 10px;
}

.site-title {
    font-size: 2.5rem;
    font-weight: bold;
}

.site-description {
    color: #6c757d;
    font-size: 1.1rem;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-control {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
    color: #495057;
    background-color: #fff;
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.btn {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    cursor: pointer;
}

.btn-primary {
    color: #fff;
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.btn-primary:hover {
    color: #fff;
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

.btn-danger {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
}

.btn-danger:hover {
    color: #fff;
    background-color: #bb2d3b;
    border-color: #b02a37;
}

.btn-download {
    width: 100%;
}

/* Video Info Styles */
.video-info {
    margin-top: 30px;
    display: none;
}

.thumbnail {
    width: 100%;
    border-radius: 5px;
    margin-bottom: 15px;
}

/* Ad Container Styles */
.ad-container {
    margin: 20px 0;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 5px;
    text-align: center;
}





/* Loading Styles */
.loading {
    text-align: center;
    margin: 20px 0;
    display: none;
}

.spinner {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    vertical-align: text-bottom;
    border: 0.25em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner-border .75s linear infinite;
}

@keyframes spinner-border {
    to { transform: rotate(360deg); }
}

/* Footer Styles */
.site-footer {
    margin-top: 40px;
    text-align: center;
    color: #6c757d;
    font-size: 0.9rem;
}

/* إزالة النقاط من قائمة الفوتر */
#footer-menu,
#footer-menu li {
    list-style: none;
    margin: 0;
    padding: 0;
}

body {
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
}

.site {
    max-width: 75%;
    overflow-x: hidden;
    margin: 0 auto;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .container {
        padding: 20px;
    }
}
