/* Dashboard Wrapper */
.onc-forgot-link {
    text-align: right;
    margin: 6px 0 16px;
}

.onc-forgot-link a {
    font-size: 13px;
    color: #666;
    text-decoration: none;
}

.onc-forgot-link a:hover {
    text-decoration: underline;
}
.onc-article-actions {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.onc-edit-article {
     padding: 6px 12px;
    border-radius: 4px;
        font-size: 20px;
    color: #c8102e;
}

 .onc-remember {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0 20px;
  font-size: 14px;
  color: #374151;
}

.onc-remember input {
  width: auto;
}

#onc-login-btn {
  width: 100%;
   border-radius: 10px;
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

#onc-login-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.35);
}
    .onc-form-wrapper {
  display: flex;
  justify-content: center;
  padding: 60px 20px;
  background: #f7f8fc;
}

.onc-form {
  width: 100%;
  background: #ffffff;
  padding: 40px;
  border-radius: 14px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  font-family: Inter, system-ui, sans-serif;
}

.onc-form-header h2 {
  margin-bottom: 6px;
  font-size: 26px;
  color: #0b2b5b;
}

.onc-form-header p {
  margin-bottom: 30px;
  color: #6b7280;
  font-size: 15px;
}

.onc-form input,
.onc-form textarea {
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 16px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  font-size: 15px;
  transition: all 0.2s ease;
}

.onc-form input:focus,
.onc-form textarea:focus {
  outline: none;
  border-color: #7c3aed;
  box-shadow: 0 0 0 3px rgba(124,58,237,0.15);
}

.onc-form textarea {
  min-height: 90px;
  resize: vertical;
}

.onc-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.onc-divider {
  margin: 24px 0 12px;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
}

.onc-radio-group {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.onc-radio-group label {
  display: flex;
  gap: 8px;
  cursor: pointer;
  font-size: 15px;
}

.onc-file-upload span {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 14px;
}

.onc-file-upload input {
  padding: 10px;
}

.onc-captcha {
  margin: 20px 0;
}
.onc-radio-group span {
  white-space: nowrap;
  display: inline-block;
  line-height: 1.2;
}

.onc-radio-group span {
  white-space: nowrap;
  font-size: 15px;
}

#onc-register-btn {
  width: 100%;
   border-radius: 10px;
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  color: white;
  font-size: 16px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

#onc-register-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(124,58,237,0.35);
}

.onc-error {
  margin-top: 12px;
  color: #dc2626;
}

.onc-success {
  margin-top: 12px;
  color: #16a34a;
}

.onc-login-link {
  margin-top: 20px;
  text-align: center;
  font-size: 15px;
}

.onc-login-link a {
  color: #7c3aed;
  font-weight: 600;
  text-decoration: none;
}

@media (max-width: 600px) {
  .onc-form-grid {
    grid-template-columns: 1fr;
  }
}

.onc-articles-heading{    
    font-size: 39px;
    font-weight: 800;
    color: #3A1C6B;}
.onc-dashboard-title {
    font-size: 28px;
    font-weight: 800;
    color: #3a1c6b;
    margin: 0;
}
.guest-writer-badge {
     color: red;               /* Black text */
    padding: 3px 8px;
    border-radius: 4px;
  display: inline-block;
    margin-bottom: 5px;
}

 .onc-update-wrapper {
                display: flex;
                flex-direction: column;
                align-items: center;
            }
            .onc-success {
                margin-top: 12px;
                color: green;
                font-weight: 700;
            }
.onc-dashboard {
    max-width: 920px;
    margin: 40px auto;
    background: #ffffff;
    padding: 32px;
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
    font-family: Inter, system-ui, sans-serif;
}

/* Header */
.onc-dashboard-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 28px;
}

.onc-dashboard-header img {
    border-radius: 50%;
    border: 4px solid #eee;
}

.onc-dashboard-title {
    font-size: 28px;
    font-weight: 800;
    color: #3a1c6b;
    margin: 0;
}

.onc-dashboard-subtitle {
    color: #666;
    margin-top: 6px;
}

/* Actions */
.onc-dashboard-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

.onc-action {
    flex: 1;
    text-align: center;
    padding: 14px;
    border-radius: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
}

.onc-action.primary {
    background: linear-gradient(135deg, rgb(123,47,247), rgb(241,7,163));
    color: #fff;
}

.onc-action.secondary {
    background: #f4f2fb;
    border: 1px solid rgb(182,127,216);
    color: rgb(123,47,247);
}

.onc-action:hover {
    transform: translateY(-2px);
}

/* Form */
.onc-form input,
.onc-form textarea {
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 16px;
    border-radius: 12px;
    border: 1px solid #ddd;
    font-size: 15px;
    background: #fafafa;
      
}

.onc-form textarea {
    min-height: 120px;
    resize: vertical;
}

.onc-form input:focus,
.onc-form textarea:focus {
    outline: none;
    border-color: rgb(123,47,247);
    box-shadow: 0 0 0 3px rgba(123,47,247,0.15);
    background: #fff;
}

/* Grid */
.onc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* File input */
.onc-form input[type="file"] {
    border: 2px dashed rgb(182,127,216);
    background: #f8f6ff;
    cursor: pointer;
}

/* Update section */
.onc-update-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 10px;
}

/* Button */
.onc-form button {
    background: linear-gradient(135deg, rgb(123,47,247), rgb(241,7,163));
    color: #fff;
    border: none;
    border-radius: 14px;
    font-weight: 700;
    cursor: pointer;
}

.onc-form button:hover {
    box-shadow: 0 10px 30px rgba(123,47,247,0.45);
}

/* Success */
.onc-success {
    color: green;
    font-weight: 600;
}

/* Mobile */
@media (max-width: 640px) {
    .onc-dashboard {
        padding: 24px 20px;
    }

    .onc-dashboard-header {
        flex-direction: column;
        text-align: center;
    }

    .onc-dashboard-actions {
        flex-direction: column;
    }

    .onc-grid {
        grid-template-columns: 1fr;
    }
}

/* Title */
.onc-form h2 {
    text-align: center;
    margin-bottom: 24px;
    font-size: 28px;
    font-weight: 700;
    color: #3a1c6b;
}

/* Inputs & textarea */
.onc-form input,
.onc-form textarea {
    width: 100%;
    padding: 14px 14px;
    margin-bottom: 14px;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-size: 15px;
    transition: all 0.25s ease;
    background: #fafafa;
}

.onc-form textarea {
    resize: vertical;
    min-height: 100px;
}

/* Focus state */
.onc-form input:focus,
.onc-form textarea:focus {
    outline: none;
    border-color: rgb(123, 47, 247);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(123, 47, 247, 0.15);
}

/* Checkbox */
.onc-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    margin: 16px 0;
    color: #444;
}

.onc-checkbox input {
    width: 18px;
    height: 18px;
    accent-color: rgb(123, 47, 247);
}

/* File input */
.onc-form input[type="file"] {
    padding: 10px;
    background: #f4f2fb;
    border: 1px dashed rgb(182, 127, 216);
    cursor: pointer;
}

.onc-form label {
    font-weight: 600;
    font-size: 14px;
    margin: 10px 0 6px;
    display: block;
    color: #3a1c6b;
}

/* Button */
#onc-register-btn {
    width: 100%;
    margin-top: 20px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    background: linear-gradient(135deg, rgb(123, 47, 247), rgb(241, 7, 163));
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#onc-register-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(123, 47, 247, 0.45);
}

/* Messages */
#onc-register-error {
    text-align: center;
    font-size: 14px;
}

#onc-register-success {
    text-align: center;
    font-size: 14px;
}

/* Login link */
.onc-form p {
    text-align: center;
    margin-top: 18px;
    font-size: 15px;
}

.onc-form a {
    color: rgb(123, 47, 247);
    font-weight: 600;
    text-decoration: none;
}

.onc-form a:hover {
    text-decoration: underline;
}
/* Login button */
#onc-login-btn {
    width: 100%;
     margin-top: 20px;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    background: linear-gradient(135deg, rgb(123, 47, 247), rgb(241, 7, 163));
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#onc-login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(123, 47, 247, 0.45);
}
  .onc-form .profile-update {
    width: 100%;
    margin-top: 20px;
background: linear-gradient(135deg, rgb(123, 47, 247), rgb(241, 7, 163));
    color: #ffffff;
   border: none;
    border-radius: 14px;
font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.3px;

    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.onc-form .profile-update:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(123, 47, 247, 0.45);
}
/* Status messages */
#onc-login-error,
#onc-login-success {
    text-align: center;
    font-size: 14px;
}
.onc-form {
    background: #f9f9f9;
    border: 1px solid #ddd;
    padding: 20px;
     margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size:18px;
    max-width:800px;
}
form#onc-login-form {
    max-width: 660px;
    width: 100%;
}
.onc-form h2, .onc-form h3 {
    color: #003366;
    margin-bottom: 15px;
}
.onc-form input, .onc-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}
.onc-form button {
    background: #003366;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
     font-size:18px;
}
.onc-form button:hover {
    background: #002244;
}
.onc-checkbox {
    display: block;
    margin-bottom: 10px;
}
.onc-error {
    color: red;
    font-weight: bold;
}
.onc-success {
    color: green;
    font-weight: bold;
}
  /* Wrapper */
    .onc-articles-wrapper { display:block; margin-top:10px; }

    /* Article card */
    .onc-article-card-single { 
        display:flex; 
        flex-direction:row; 
        border-bottom:1px solid #ddd; 
        padding:15px 0; 
        margin-bottom:15px; 
    }

    .onc-article-card-single:hover { background: #f9f9f9; }

    /* Image */
    .onc-article-img { flex:0 0 200px; margin-right:15px; overflow:hidden; }
    .onc-article-img img { width:100%; height:100%; object-fit:cover; border-radius:4px; }

    /* Content */
    .onc-article-content { flex:1; display:flex; flex-direction:column; }
    .onc-article-title { font-size:32px; margin:0 0 5px; font-weight:bold; color:#111; }
    .onc-article-title a { text-decoration:none; color:#111;font-size:32px;  }
     .onc-article-meta { font-size:18px; color:#555; margin-bottom:8px;font-weight: bold; }
    .onc-article-excerpt { font-size:20px; color:#333; margin-bottom:5px; line-height:1.5; }

    /* Read More link */
    .onc-read-more { font-size:20px; color:#c8102e; text-decoration:none; margin-top:5px; }
    .onc-read-more:hover { text-decoration:underline; }

    /* Pagination */
    .onc-pagination { margin-top:20px; text-align:center; }
    .onc-pagination a, .onc-pagination span { margin:0 5px; padding:5px 10px; border:1px solid #ddd; border-radius:4px; text-decoration:none; color:#c8102e; }
    .onc-pagination .current { background:#c8102e; color:#fff; border-color:#c8102e; }

    /* Responsive */
    @media(max-width:768px){
        .onc-article-card-single { flex-direction:column; }
        .onc-article-img { flex:0 0 auto; height:200px; margin-bottom:10px; }
    }