/* Phone input styles */
.phone-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.country-code {
    position: absolute;
    left: 12px;
    font-weight: bold;
    color: #333;
    z-index: 10;
}

.mobile-input {
    padding-left: 48px !important;
}

/* Processing screen styles */
.processing-container {
    text-align: center;
    padding: 20px;
}

.processing-title {
    color: #333;
    font-size: 20px;
    margin-bottom: 20px;
}

#recharge-progress-bar {
    animation: progress-animation 3s ease-in-out;
}

/* Activation screen styles */
.activation-container {
    text-align: center;
}

.activation-heading {
    color: #FF9933;
    font-size: 18px;
}

.plan-details-container {
    background-color: #f9f9f9;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: left;
    padding: 15px;
}

#activation-steps-text {
    line-height: 1.6;
    word-wrap: break-word;
    white-space: normal;
    margin-bottom: 10px;
    font-size: 16px;
    text-align: left;
    display: block;
}

#selected-mobile {
    font-weight: bold;
    color: #FF9933;
}

.activation-steps {
    text-align: left;
    padding-left: 20px;
}

.activation-steps li {
    margin-bottom: 10px;
    line-height: 1.5;
}

.activation-note {
    font-style: italic;
    color: #666;
    margin-top: 10px;
}

/* WhatsApp invite styles */
.whatsapp-invite-container {
    border-radius: 10px;
    margin-top: 20px;
}

.invite-header {
    margin-bottom: 15px;
}

.invite-title {
    color: #ff3333;
    font-weight: bold;
    font-size: 18px;
    margin: 0;
}

.invite-progress {
    margin-bottom: 20px;
}

.invite-progress p {
    margin-bottom: 5px;
    font-weight: bold;
}

#invite-count {
    color: #ff3333;
}

.invite-progress-bar-container {
    width: 100%;
    height: 15px;
    background-color: #ddd;
    border-radius: 10px;
    overflow: hidden;
}

.invite-progress-bar {
    width: 0%;
    height: 100%;
    background-color: #4CAF50;
    transition: width 0.3s ease;
}

.whatsapp-share-btn {
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.whatsapp-icon {
    width: 25px;
    height: 25px;
    margin-left: 10px;
}

.activate-recharge-btn {
    background-color: #90CAF9;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: bold;
    width: 100%;
    cursor: pointer;
}

.activate-recharge-btn:disabled {
    background-color: #90CAF9;
    opacity: 0.6;
    cursor: not-allowed;
}

.activate-recharge-btn:not(:disabled) {
    background-color: #1976D2;
}

/* Social Container Styles */
.social-container {
    max-width: 600px;
    margin: 20px auto;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.social-tabs {
    display: flex;
    background-color: #f5f5f5;
    border-bottom: 1px solid #e0e0e0;
}

.tab-button {
    flex: 1;
    padding: 12px;
    text-align: center;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tab-button:hover {
    background-color: #e9e9e9;
}

.tab-button.active {
    background-color: #ffffff;
    border-bottom: 2px solid #e84118;
    color: #e84118;
}

.tab-pane {
    display: none;
    padding: 15px;
}

.tab-pane.active {
    display: block;
}

/* Comments Section Styles */
.comments-section {
    max-height: 300px;
    overflow-y: auto;
}

.comment {
    display: flex;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.user-comment {
    background-color: #f8f9fa;
    padding: 10px;
    border-radius: 8px;
    border-left: 3px solid #4285f4;
    position: relative;
}

.delete-comment {
    position: absolute;
    top: 30px;
    right: 10px;
    cursor: pointer;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: opacity 0.2s;
    background-color: transparent;
    border-radius: 50%;
    z-index: 5;
}

.delete-comment:hover {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.05);
}

.delete-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ff3333'%3E%3Cpath d='M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

/* Premium modern loading animation styles with counter-rotating rings */
.loading-container {
    margin: 30px auto;
    text-align: center;
    padding: 20px 0;
}

.loading-circle-container {
    display: inline-block;
    position: relative;
    filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.1));
    width: 120px;
    height: 120px;
}

.loading-circle-progress {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(255, 51, 102, 0.2);
    border: 2px solid transparent;
    overflow: hidden;
    background-color: white;
}

/* Outer rotating ring - clockwise */
.loading-circle-outer {
    position: absolute;
    top: 0;
    left: 0;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 5px solid transparent;
    border-top: 5px solid #ed1c24;  /* BJP Red color */
    border-right: 5px solid #ed1c24;
    border-bottom: 5px solid rgba(237, 28, 36, 0.3);
    animation: spin-clockwise 2s linear infinite;
    box-sizing: border-box;
}

/* Inner rotating ring - counter-clockwise */
.loading-circle-inner {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 5px solid transparent;
    border-top: 5px solid #ff9933;  /* BJP Orange color */
    border-left: 5px solid #ff9933;
    border-bottom: 5px solid rgba(255, 153, 51, 0.3);
    animation: spin-counter-clockwise 1.5s linear infinite;
    box-sizing: border-box;
}

/* Center circle with percentage */
.loading-circle-center {
    position: absolute;
    top: 40px;
    left: 40px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    color: #333;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    z-index: 5;
}

/* Not needed anymore, we have smaller rings with the center circle */

.loading-circle-text {
    font-size: 16px;
    font-weight: 600;
    color: #222;
    margin-top: 10px;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    background: linear-gradient(45deg, #ed1c24, #ff9933);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
}

.loading-circle-text::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #ed1c24, #ff9933);
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.loading-circle-text:hover::after {
    width: 100%;
}

@keyframes spin-clockwise {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes spin-counter-clockwise {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(-360deg); }
}

.initial-message {
    text-align: center;
    margin-bottom: 25px;
    font-size: 17px;
    color: #444;
    padding: 0 20px;
}

.loading-caption {
    margin-top: 5px;
    font-size: 14px;
    font-weight: 500;
    color: #444;
    background: linear-gradient(to right, #ed1c24, #ff9933);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 2.5s infinite;
    background-size: 200% 100%;
}

.loading-caption .emoji {
    font-size: 16px;
    margin-right: 5px;
    animation: bounce 1.2s infinite;
    display: inline-block;
}

@keyframes shimmer {
    0% { background-position: -100% 0; }
    100% { background-position: 100% 0; }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.comment-avatar {
    margin-right: 15px;
}

.avatar-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e1f5fe;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4285f4;
    font-weight: bold;
    font-size: 20px;
}

.comment-content {
    flex: 1;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.comment-name {
    font-weight: 600;
    color: #333;
}

.comment-time {
    font-size: 12px;
    color: #999;
}

.comment-text {
    font-size: 14px;
    line-height: 1.4;
    color: #555;
}

/* Add Comment Section */
.add-comment-container {
    margin-top: 20px;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.add-comment-toggle {
    color: #e84118;
    font-weight: 600;
    cursor: pointer;
    padding: 8px 0;
    text-align: center;
}

.add-comment-toggle:hover {
    text-decoration: underline;
}

.add-comment-form {
    margin-top: 15px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.comment-form-group {
    margin-bottom: 12px;
}

.comment-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.comment-form-group input,
.comment-form-group textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.comment-form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.comment-submit-btn {
    background-color: #e84118;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.comment-submit-btn:hover {
    background-color: #c23616;
}

.comment-success-message {
    margin-top: 10px;
    padding: 8px 12px;
    background-color: #e8f5e9;
    color: #2e7d32;
    border-radius: 4px;
    border-left: 3px solid #2e7d32;
    font-weight: 500;
}

/* Menu button styling */
.menu-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    background-color: transparent;
    gap: 5px;
}

.menu-button span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #000;
    border-radius: 1px;
    transition: all 0.3s ease;
}

.menu-button:hover {
    transform: scale(1.05);
}

/* Menu dropdown styling */
.menu-dropdown {
    position: absolute;
    top: 50px;
    right: 0;
    width: 250px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    padding: 10px 0;
    z-index: 1000;
    opacity: 0;
    transform: translateY(-10px);
    visibility: hidden;
    transition: all 0.3s ease;
}

.menu-dropdown.show-menu {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.menu-dropdown a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.menu-dropdown a:hover {
    background-color: #f7f7f7;
}

.menu-dropdown a span {
    margin-right: 10px;
    font-size: 18px;
}

/* Social Media Icons Styling */
.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f5f5f5;
    color: #333;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: #FF9933;
    color: white;
    transform: translateY(-3px);
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

/* Highlighted plan and mobile number in activation steps */
.plan-highlight {
    color: #4CAF50;
    padding: 1px 2px;
    border-radius: 3px;
    font-weight: bold;
    display: inline;
    margin: 0;
    white-space: normal;
    word-break: keep-all;
}

.mobile-highlight {
    background: linear-gradient(135deg, #2196F3, #1976D2);
    color: white;
    padding: 1px 2px;
    border-radius: 3px;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    display: inline;
    margin: 0;
    white-space: normal;
    word-break: keep-all;
}