/* सामान्य स्टाइलिंग */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    background-color: #f0f2f5;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* हेडर स्टाइलिंग */
.main-header {
    background-color: #ffffff;
    padding: 15px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5em;
    font-weight: 600;
    color: #1877f2;
    text-decoration: none;
}

.main-header nav a {
    text-decoration: none;
    color: #333;
    margin-left: 20px;
    font-weight: 400;
}

/* मुख्य सामग्री */
main.container h1 {
    text-align: center;
    margin: 40px 0;
    color: #1c1e21;
}

/* वीडियो ग्रिड */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding-bottom: 40px;
}

.video-card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.2s ease-in-out;
}

.video-card:hover {
    transform: translateY(-5px);
}

.video-card video {
    width: 100%;
    height: auto;
    display: block;
    background-color: #000;
}

.video-info {
    padding: 15px;
}

.video-info .caption {
    font-weight: 600;
    margin: 0 0 5px 0;
}

.video-info .username {
    font-size: 0.9em;
    color: #65676b;
    margin: 0;
}

/* फुटर स्टाइलिंग */
.main-footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}
/* फॉर्म कंटेनर और स्टाइलिंग */
.form-container {
    max-width: 400px;
    margin: 40px auto;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.form-container h2 {
    text-align: center;
    margin-bottom: 10px;
}
.form-container p {
    text-align: center;
    margin-bottom: 20px;
    color: #65676b;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box; /* padding को चौड़ाई में शामिल करता है */
}

.btn-primary {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 5px;
    background-color: #1877f2;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}
.btn-primary:hover {
    background-color: #166fe5;
}

.error-msg {
    color: #dc3545;
    font-size: 0.9em;
}

.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
    text-align: center;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}
.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.profile-page {
    text-align: center;
    padding: 50px 0;
}
/* style.css में अंत में जोड़ें */
.profile-container {
    max-width: 700px;
    margin: 40px auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 30px;
}
.profile-header {
    text-align: center;
    border-bottom: 1px solid #ddd;
    padding-bottom: 20px;
    margin-bottom: 20px;
}
.profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}
.profile-header h2 {
    margin: 10px 0 5px 0;
}
.profile-header .username {
    color: #65676b;
    margin-top: 0;
}
.btn-edit-profile {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background: #e4e6eb;
    color: #050505;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
}
.profile-details h3 {
    margin-bottom: 15px;
}
.profile-details ul {
    list-style: none;
    padding: 0;
}
.profile-details ul li {
    margin-bottom: 10px;
}
.post-tabs { overflow: hidden; border-bottom: 1px solid #ccc; margin-bottom: 20px; }
.post-tabs button, .post-tabs a { background-color: inherit; float: left; border: none; outline: none; cursor: pointer; padding: 14px 16px; transition: 0.3s; font-size: 17px; text-decoration: none; color: #333; }
.post-tabs button:hover, .post-tabs a:hover { background-color: #ddd; }
.post-tabs button.active { background-color: #ccc; }
.feed-container { max-width: 600px; margin: 20px auto; }
.post-card { background: #fff; border: 1px solid #ddd; border-radius: 8px; margin-bottom: 20px; }
.post-header { display: flex; align-items: center; gap: 10px; padding: 10px; }
.post-header img { width: 40px; height: 40px; border-radius: 50%; }
.post-content { padding: 10px; }
.post-content .text-content { font-size: 1.2em; line-height: 1.5; }
.post-content .post-image, .post-content video { max-width: 100%; height: auto; border-radius: 5px; }
.post-actions { padding: 10px; border-top: 1px solid #eee; display: flex; gap: 20px; color: #555; }