/* css/style.css */

* {
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Evitar scroll horizontal */
}

/* Header Styles */
header {
    background-color: #f8f9fa;
    text-align: center;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-family: 'Roboto', sans-serif;
}

header img {
    max-width: 200px;
    height: auto;
    margin-bottom: 10px;
}

header h1 {
    font-size: 18px;
    color: #333;
    font-weight: bold;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

header h1 span {
    display: flex;
    align-items: center;
}

header h1 span img {
    width: 18px;
    height: 18px;
}

/* Footer Styles */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 15px 10px;
    font-size: 14px;
    font-family: 'Roboto', sans-serif;
    margin-top: 20px;
}
footer a {
    color: #4caf50;
    text-decoration: none;
    font-weight: bold;
}
footer a:hover {
    text-decoration: underline;
}

/* Container Styles */
.search-container {
    background-color: #fff;
    padding: 20px 20px 40px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 600px;
    margin: 50px auto;
    text-align: center;
    position: relative;
}

.search-box {
    position: relative;
}

.search-container input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    margin: 10px 0;
    border-radius: 25px;
    border: 1px solid #ddd;
    font-size: 18px;
}

.search-container input:focus {
    border-color: #007bff;
    outline: none;
}

.clear-btn {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 24px;
    color: red;
    display: none;
}

.search-container ul {
    list-style-type: none;
    padding: 0;
    margin: 10px 0;
    background-color: #fff;
    position: absolute;
    width: 100%;
    max-height: 300px;
    overflow-y: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    border-radius: 5px;
}

.search-container li {
    padding: 10px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #ddd;
    cursor: pointer;
}

.search-container li:hover {
    background-color: #f4f4f4;
}

.search-container img {
    border-radius: 50%;
    width: 50px;
    height: 50px;
    margin-right: 15px;
}

.search-container .username {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.search-container .followers {
    font-size: 14px;
    color: #666;
}

.selected-profile {
    display: none;
    align-items: center;
    margin-top: 20px;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
}

.selected-profile img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 20px;
}

.promote-btn {
    margin-top: 30px;
    padding: 15px 30px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 100%;
}

.promote-btn.disabled {
    background-color: #ccc;
    color: #333;
    cursor: not-allowed;
}

.promote-btn i {
    margin-left: 10px;
}

/* Tutorial styles */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    display: none;
}

.highlight {
    position: absolute;
    border-radius: 5px;
    z-index: 2001;
    box-shadow: 0 0 0 2000px rgba(0, 0, 0, 0.7);
}

.tooltip {
    position: absolute;
    background: #fff;
    color: #333;
    padding: 15px;
    border-radius: 5px;
    z-index: 2002;
    max-width: 250px;
    text-align: center;
    font-size: 16px;
}

.tooltip::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
}

/* Arrow styles */
.tooltip[data-position="bottom"]::after {
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #fff;
}

.tooltip[data-position="top"]::after {
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #fff;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background: rgba(0,0,0,0.5);
    display:none;
    z-index:3000;
    justify-content:center;
    align-items:center;
    padding: 10px;
}

.modal-content {
    background:#fff;
    border-radius:10px;
    padding:20px;
    width:100%;
    max-width:320px;
    text-align:center;
    position:relative;
}

.modal-header {
    margin-bottom:20px;
}

.modal-header h3 {
    margin:0;
    font-size:20px;
    font-weight:bold;
    color:#333;
    word-wrap: break-word;
}

.modal-profile-info {
    display:flex;
    flex-direction:column;
    align-items:center;
    margin-bottom:20px;
}

.modal-profile-info img {
    width:100px;
    height:100px;
    border-radius:50%;
    margin-bottom:10px;
    max-width:100px;
    max-height:100px;
}

.modal-stats {
    font-size:16px;
    margin-bottom:20px;
}

.modal-stats div {
    margin:5px 0;
    word-wrap: break-word;
}

.modal-signature {
    font-size:14px;
    color:#555;
    margin-bottom:20px;
    padding:0 10px;
    word-wrap: break-word;
}

.modal-buttons {
    display:flex;
    flex-direction:column;
}

.modal-buttons .btn-yes {
    background:#28a745;
    color:#fff;
    border:none;
    padding:10px;
    border-radius:5px;
    font-size:16px;
    cursor:pointer;
    margin-bottom:10px;
    width:100%;
}

.modal-buttons .btn-no {
    background:#dc3545;
    color:#fff;
    border:none;
    padding:10px;
    border-radius:5px;
    font-size:16px;
    cursor:pointer;
    width:100%;
}

.modal-private-message {
    color: #dc3545;
    font-weight: bold;
    margin-bottom: 20px;
}

.modal-buttons .btn-ok {
    background: #007bff;
    color: #fff;
    border:none;
    padding:10px;
    border-radius:5px;
    font-size:16px;
    cursor:pointer;
    width:100%;
}
