.input-card {
    padding: 40px 0;
}
.input-card-container {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
    max-width: 600px;
    margin: 0 auto;
}
.card-title {
    font-size: 1.8rem;
    color: #4285f4;
    margin-bottom: 20px;
}
.input-group {
    display: flex;
    gap: 10px;
}
.form-control {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    flex: 1;
}
.btn-primary {
    background: #4285f4;
    border: none;
    border-radius: 5px;
    padding: 10px 15px;
    color: #fff;
    cursor: pointer;
}
.btn-primary:hover {
    background: #3267d6;
}
.reset-btn {
    background: #6c757d;
    border: none;
    border-radius: 5px;
    padding: 10px 15px;
    color: #fff;
    cursor: pointer;
}
.reset-btn:hover {
    background: #5a6268;
}

.video-results {
    padding: 40px 0;
}
.section-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;
    color: #4285f4;
}
.video-info {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}
.thumbnail-card img {
    max-width: 100%;
    border-radius: 5px;
    margin-bottom: 15px;
}
.video-details h4 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 10px;
}
.video-details p {
    font-size: 1rem;
    color: #555;
}
.download-options {
    margin-top: 20px;
}
.download-options label {
    font-size: 1.1rem;
    color: #333;
    margin-right: 10px;
}
.form-select {
    width: 100%;
    max-width: 200px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 15px;
}

.message-popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 10px 20px;
    border-radius: 5px;
    color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: opacity 0.3s ease;
}
.message-popup.success {
    background: #28a745;
}
.message-popup.error {
    background: #dc3545;
}
.message-popup.visible {
    opacity: 1;
}
.message-popup:not(.visible) {
    opacity: 0;
    display: none;
}