/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f8f9fa;
    color: #333;
    margin: 0;
    padding: 0;
}

/* Containers for Registration, Login, and Upload */
.register-container, .login-container, .upload-container {
    width: 100%;
    max-width: 400px;
    margin: 80px auto;
    padding: 25px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

h2 {
    text-align: center;
    font-size: 1.8em;
    margin-bottom: 20px;
    color: #007BFF;
}

input[type="text"], input[type="email"], input[type="password"], input[type="file"] {
    width: 100%;
    padding: 15px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1em;
}

button {
    width: 100%;
    padding: 12px;
    background-color: #007BFF;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #0056b3;
}

/* Video Feed Styles */
.video-feed {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 40px;
    justify-content: center;
    background-color: #f0f0f0;
}

.video-item {
    width: 300px;
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    text-align: center;
}

.video-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.video-item img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 15px;
}

.video-item h3 {
    font-size: 1.3em;
    color: #007BFF;
    margin-bottom: 10px;
}

.video-item video {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 15px;
}

.video-item a {
    display: inline-block;
    text-decoration: none;
    color: #fff;
    background-color: #28a745;
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

.video-item a:hover {
    background-color: #218838;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .register-container, .login-container, .upload-container {
        width: 90%;
    }

    .video-item {
        width: 100%;
        margin: 10px;
    }
}

/* Navbar Styling (Optional) */
.navbar {
    background-color: #007BFF;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.navbar a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    transition: background-color 0.3s ease;
}

.navbar a:hover {
    background-color: #0056b3;
    border-radius: 5px;
}

/* Form Messages */
form {
    margin-top: 10px;
}

.message {
    padding: 10px;
    margin: 15px 0;
    border-radius: 5px;
    text-align: center;
}

.message.success {
    background-color: #d4edda;
    color: #155724;
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
}

/* Like, Comment, Repost Section (Real-time Interactions) */
.interaction-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.interaction-bar button {
    background-color: #f8f9fa;
    color: #007BFF;
    border: 1px solid #007BFF;
    border-radius: 6px;
    padding: 8px 12px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.interaction-bar button:hover {
    background-color: #007BFF;
    color: #fff;
}

.interaction-bar .likes,
.interaction-bar .comments {
    font-size: 0.9em;
    color: #6c757d;
}

.share-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.share-btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.share-btn.facebook {
    background-color: #3b5998;
}

.share-btn.twitter {
    background-color: #1da1f2;
}

.share-btn.whatsapp {
    background-color: #25d366;
}

.share-btn.email {
    background-color: #d44638;
}

.share-btn:hover {
    opacity: 0.8;
}

