fraud-detection-url / styles /Home.module.css
kh03's picture
Upload 2 files
e1e36ef verified
.container {
min-height: 100vh;
padding: 0 1rem;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.main {
padding: 4rem 0;
flex: 1;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
width: 100%;
max-width: 800px;
}
.footer {
width: 100%;
height: 60px;
border-top: 1px solid #eaeaea;
display: flex;
justify-content: center;
align-items: center;
}
.footer a {
display: flex;
justify-content: center;
align-items: center;
flex-grow: 1;
color: #0070f3;
text-decoration: none;
}
.title {
margin: 0;
line-height: 1.15;
font-size: 3rem;
text-align: center;
}
.description {
line-height: 1.5;
font-size: 1.2rem;
text-align: center;
margin: 1rem 0;
}
.form {
width: 100%;
display: flex;
margin: 2rem 0;
flex-direction: column;
gap: 1rem;
}
@media (min-width: 600px) {
.form {
flex-direction: row;
}
}
.input {
width: 100%;
padding: 0.8rem;
font-size: 1rem;
border: 1px solid #ccc;
border-radius: 4px;
}
.button {
padding: 0.8rem 1.5rem;
font-size: 1rem;
background-color: #0070f3;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
transition: background-color 0.3s;
}
.button:hover {
background-color: #0051a8;
}
.button:disabled {
background-color: #ccc;
cursor: not-allowed;
}
.error {
width: 100%;
padding: 1rem;
background-color: #ffebee;
border: 1px solid #f44336;
border-radius: 4px;
margin: 1rem 0;
color: #b71c1c;
}
.result {
width: 100%;
margin-top: 2rem;
padding: 1.5rem;
background-color: #f5f5f5;
border-radius: 8px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.scoreContainer {
display: flex;
align-items: center;
margin: 2rem 0;
}
.scoreCircle {
width: 100px;
height: 100px;
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
margin-right: 1.5rem;
}
.scoreValue {
font-size: 1.8rem;
font-weight: bold;
}
.scoreLabel {
display: flex;
flex-direction: column;
font-size: 1.2rem;
}
.scoreDescription {
font-weight: bold;
margin-top: 0.5rem;
}
.urlInfo {
margin: 1.5rem 0;
padding: 1rem;
background-color: #e8f5e9;
border-radius: 4px;
}
.trusted {
color: #2e7d32;
font-weight: bold;
}
.patternsList {
margin: 1.5rem 0;
padding: 1rem;
background-color: #fff3e0;
border-radius: 4px;
}
.patternItem {
margin: 0.5rem 0;
padding: 0.5rem;
background-color: #ffe0b2;
border-radius: 4px;
}
.featuresContainer {
margin: 1.5rem 0;
}
.featureItem {
margin: 1rem 0;
}
.featureHeader {
display: flex;
justify-content: space-between;
margin-bottom: 0.3rem;
}
.featureName {
font-weight: 500;
}
.featureValue {
font-weight: bold;
}
.progressBar {
height: 10px;
background-color: #eaeaea;
border-radius: 5px;
overflow: hidden;
}
.progressFill {
height: 100%;
background-color: #f44336;
border-radius: 5px;
transition: width 0.5s ease-in-out;
}
.progressFill.decreases {
background-color: #4caf50;
}